This commit is contained in:
Nishimara 2024-08-01 15:56:09 +03:00
parent 798d1d109b
commit 3e8fbb37ac
No known key found for this signature in database

View File

@ -46,7 +46,7 @@ stdenv.mkDerivation {
cp $src/init.d/sysv/zapret $out/usr/share/zapret/init.d/sysv/init.d
substituteInPlace $out/usr/share/zapret/init.d/sysv/functions \
--replace "ZAPRET_BASE=\$(readlink -f \"\$EXEDIR/../..\")" "ZAPRET_BASE=$out/usr/share/zapret" \
--replace "ZAPRET_BASE=\$(readlink -f \"\$EXEDIR/../..\")" "ZAPRET_BASE=$out/usr/share/zapret"
touch $out/usr/share/zapret/config