From 94b018aa4827aee90778641ee28c0cc05914b53d Mon Sep 17 00:00:00 2001 From: Ben Reaves Date: Mon, 31 Jan 2022 13:15:15 -0600 Subject: [PATCH] Closes #616 major bug with xkeysnail fork d/l --- xkeysnail_service.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 ..