]> Cypherpunks repositories - bass.git/commitdiff
Add localpath/sbin to PATH
authorSergey Matveev <stargrave@stargrave.org>
Mon, 22 Jul 2024 10:26:13 +0000 (13:26 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 22 Jul 2024 10:26:13 +0000 (13:26 +0300)
build/skel/rc-paths.do

index a1bb401ff1ce73e76a26834b576e8e6d47767ef45e816489aced149b0e96f149..b24cea328237d548a6926a6ee03af928f4ff349943af6db49b257b1ba8cb0b5c 100644 (file)
@@ -9,7 +9,7 @@ cd "$SKELBINS"/$ARCH/$NAME-$hsh
 mkdir -p skelpkg/$NAME-$hsh/hooks/postinst
 cat >skelpkg/$NAME-$hsh/hooks/postinst/rc <<EOF
 _localpath="\$(realpath local)"
-PATH="\$_localpath/bin:\$PATH"
+PATH="\$_localpath/bin:\$_localpath/sbin:\$PATH"
 export MANPATH="\$_localpath/share/man:\$MANPATH"
 export INFOPATH="\$_localpath/share/info:\$INFOPATH"
 export LD_LIBRARY_PATH="\$_localpath/lib:\$LD_LIBRARY_PATH"