diff --git a/xkeysnail_service.sh b/xkeysnail_service.sh index a3330fa..69749d6 100755 --- a/xkeysnail_service.sh +++ b/xkeysnail_service.sh @@ -554,17 +554,15 @@ if ! [[ $1 == "5" || $1 == "uninstall" || $1 == "Uninstall" ]]; then xkeypath="/lib/systemd/system/" fi xhost +SI:localuser:root - git clone --depth 10 https://github.com/rbreaves/xkeysnail.git + git clone -b kinto --depth 10 https://github.com/rbreaves/xkeysnail.git cd xkeysnail - git checkout kinto giturl=$(git ls-remote --get-url) if [ "$giturl" != "https://github.com/rbreaves/xkeysnail.git" ];then echo -e "\nreplacing xkeysnail with fork...\n" cd .. rm -rf ./xkeysnail - git clone --depth 10 https://github.com/rbreaves/xkeysnail.git + git clone -b kinto --depth 10 https://github.com/rbreaves/xkeysnail.git cd xkeysnail - git checkout kinto fi sudo pip3 install --upgrade . cd ..