jaklis is available system wide with linked .env (GVA server error switching)

This commit is contained in:
fred 2024-04-24 17:12:57 +02:00
parent b053de0b68
commit bf10b85b0f
1 changed files with 2 additions and 3 deletions

View File

@ -14,10 +14,9 @@ done
pip3 install --break-system-packages -r requirements.txt || hasError=1
chmod u+x jaklis.py
mkdir -p $HOME/.local/bin/
ln -sf $(realpath jaklis.py) $HOME/.local/bin/jaklis || hasError=1
cp ${MY_PATH}/.env.template $HOME/.local/bin/.env || hasError=1
ln -sf $(realpath jaklis.py) /usr/local/bin/jaklis || hasError=1
cp ${MY_PATH}/.env.template ${MY_PATH}/.env || hasError=1
ln -sf ${MY_PATH}/.env /usr/local/bin/.env || hasError=1
if [[ hasError -eq 0 ]]; then
echo "Setup done. You can use 'jaklis' command, try it."