PATH extension

This commit is contained in:
qo-op 2020-05-12 02:16:27 +02:00
parent ce832d16d9
commit 4f32aed390
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,9 @@ if [[ $(whoami) == "root" ]]; then
echo "I am $(whoami), IPFS is run by $YOU. Changing /tmp/zen owner"
chown -R $YOU /tmp/zen
fi
# CORRECT PATH
[[ ! $(echo $PATH | grep "/usr/local/bin") ]] && export PATH="$PATH:/usr/local/bin"
[[ ! $(echo $PATH | grep "~/.local/bin") ]] && export PATH="$PATH:~/.local/bin"
# Execute Kalkun daemon
[[ -f /var/www/kalkun/scripts/daemon.sh ]] && /var/www/kalkun/scripts/daemon.sh