commit 42a0b2f3b7b58f505384f50327ec612f05353c7c
parent 3af4635f20bed50a9bef3a48ddbbdbd970f19cc9
Author: ccx <root@dorje.wpr.cz>
Date: Mon, 29 Mar 2021 23:44:58 +0200
Fix compiled database path.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/install b/install
@@ -3,7 +3,7 @@
test -d "$1" || exit 1
dst=$1
-test -d "$sm_dst_s6_rc" || exit 1
+test -d "$sm_dst_all" || exit 1
test -d "$sm_dst_package" || exit 1
cmd=$sm_dst_package/command
@@ -15,7 +15,7 @@ q() {
}
q_init=$(q "$dst") || exit $?
-q_s6_rc=$(q "$sm_dst_s6_rc") || exit $?
+q_all=$(q "$sm_dst_all") || exit $?
q_package=$(q "$sm_dst_package") || exit $?
qc=$q_package/command
@@ -32,7 +32,7 @@ qc=$q_package/command
"$cmd/s6-cat" >"$dst/init/scripts/rc.init" <<EOF || exit $?
#!$sm_dst_package/command/execlineb -S1
export TERM "linux"
-if { $qc/s6-rc-init -d -c $q_s6_rc/compiled /run/service }
+if { $qc/s6-rc-init -d -c $q_all/s6-rc-db /run/service }
$q_init/scripts/runlevel \$1
EOF