File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 439
439
--subst-var-by 'LOCALES' '${ localeArchive } ' \
440
440
--subst-var-by 'EXTENSION_CUSTOM_SCRIPTS_DIR' "$out/extension-custom-scripts" \
441
441
--subst-var-by 'MECAB_LIB' '${ basePackages . psql_15 . exts . pgroonga } /lib/groonga/plugins/tokenizers/tokenizer_mecab.so' \
442
- --subst-var-by 'GROONGA_DIR' '${ supabase-groonga } '
442
+ --subst-var-by 'GROONGA_DIR' '${ supabase-groonga } ' \
443
+ --subst-var-by 'CURRENT_SYSTEM' '${ system } '
443
444
444
445
chmod +x $out/bin/start-postgres-server
445
446
'' ;
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ EXTENSION_CUSTOM_SCRIPTS=@EXTENSION_CUSTOM_SCRIPTS_DIR@
32
32
GROONGA=@GROONGA_DIR@
33
33
DATDIR=$( mktemp -d)
34
34
LOCALE_ARCHIVE=@LOCALES@
35
+ CURRENT_SYSTEM=@CURRENT_SYSTEM@
35
36
export LOCALE_ARCHIVE
36
37
export LANG=en_US.UTF-8
37
38
export LANGUAGE=en_US.UTF-8
@@ -85,10 +86,5 @@ orioledb_config_items() {
85
86
fi
86
87
}
87
88
orioledb_config_items " $1 "
88
- if [ " $CURRENT_SYSTEM " = " aarch64-darwin" ]; then
89
- echo " NOTE: using aarch64-darwin system"
90
- sed -i ' ' ' s/ pg_net,//g' " $DATDIR /postgresql.conf"
91
- sed -i ' ' ' s/ pg_net,//g' " $DATDIR /supautils.conf"
92
- fi
93
89
export GRN_PLUGINS_DIR=$GROONGA /lib/groonga/plugins
94
90
postgres --config-file=" $DATDIR /postgresql.conf" -p " $PORTNO " -D " $DATDIR " -k /tmp
You can’t perform that action at this time.
0 commit comments