added /usr/share/lug-helper path for lutris json for easier packaging

This commit is contained in:
Termuellinator 2022-01-06 15:05:24 +01:00
parent 809efb6a54
commit 156a0884d4

View File

@ -152,7 +152,11 @@ else
fi fi
# Lutris install script # Lutris install script
install_script="$helper_dir/lug-lutris-install.json" if [ -f "/usr/share/lug-helper/lug-lutris-install.json" ]; then
install_script="/usr/share/lug-helper/lug-lutris-install.json"
else
install_script="$helper_dir/lug-lutris-install.json"
fi
# Github repo and script version info # Github repo and script version info
repo="starcitizen-lug/lug-helper" repo="starcitizen-lug/lug-helper"