🐛 Fixed debian dash/bash launching problem with manager
This commit is contained in:
parent
04d26834a9
commit
365c07e26f
1 changed files with 7 additions and 0 deletions
|
@ -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)"
|
||||||
|
|
Loading…
Reference in a new issue