From 6298c6c9cc0fab75cab21b1469a0aceb72e7f1c2 Mon Sep 17 00:00:00 2001 From: Ben Reaves Date: Thu, 14 May 2020 20:50:57 -0500 Subject: [PATCH] - xkeysnail modifier key persistance regression temp fix. --- xkeysnail_service.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xkeysnail_service.sh b/xkeysnail_service.sh index d6b69d1..fc2ccfb 100755 --- a/xkeysnail_service.sh +++ b/xkeysnail_service.sh @@ -253,13 +253,15 @@ if [[ $1 == "1" || $1 == "2" || $1 == "3" || $1 == "winmac" || $1 == "mac" || $1 sudo ln -s "$xkeypath"xkeysnail.service /etc/systemd/system/xkeysnail.service && echo "Created soft symlink..." || echo "Failed to create soft symlink..." sudo ln -s "$xkeypath"xkeysnail.service /etc/systemd/system/graphical.target.wants/xkeysnail.service && echo "Created soft symlink for graphical target..." || echo "Failed to create soft symlink for graphical target..." xhost +SI:localuser:root - git clone --depth 1 https://github.com/rbreaves/xkeysnail.git + git clone --depth 5 https://github.com/rbreaves/xkeysnail.git + git checkout 51c369084e0045a8410d227bab52411bf84fb65b cd xkeysnail giturl=$(git ls-remote --get-url) if [ "$geturl" != "https://github.com/rbreaves/xkeysnail.git" ];then cd .. rm -rf ./xkeysnail - git clone --depth 1 https://github.com/rbreaves/xkeysnail.git + git clone --depth 5 https://github.com/rbreaves/xkeysnail.git + git checkout 51c369084e0045a8410d227bab52411bf84fb65b cd xkeysnail fi git pull origin master