🐛 Fixed debian dash/bash launching problem with manager

This commit is contained in:
Geoff Murphy 2025-05-13 16:13:37 +10:00
parent 04d26834a9
commit 365c07e26f

View file

@ -1,6 +1,13 @@
#!/usr/bin/env sh #!/usr/bin/env sh
#--------[ Bootstrap Correct Shell ]--------#
if [ "$SHELL" = "/bin/bash" ] && [ ! "$BASH_VERSION" ]; then
bash /usr/sbin/fake $@
exit
fi
#--------[ FAKE//OS Logging ]--------# #--------[ FAKE//OS Logging ]--------#
export FAKE_LOG="/var/log/fake/fake-os.log" export FAKE_LOG="/var/log/fake/fake-os.log"
mkdir -p "$(dirname $FAKE_LOG)" mkdir -p "$(dirname $FAKE_LOG)"