- Added commands to ensure that any previous instance is not running during install

This commit is contained in:
Ryan Reaves
2020-10-25 12:43:36 -05:00
parent 157ea9a116
commit 0f1f05d379

View File

@@ -201,6 +201,11 @@ if [[ $1 == "5" || $1 == "uninstall" || $1 == "Uninstall" ]]; then
exit 0 exit 0
fi fi
sudo systemctl stop xkeysnail >/dev/null 2>&1
sudo systemctl disable xkeysnail >/dev/null 2>&1
sudo pkill -f bin/xkeysnail >/dev/null 2>&1
sudo pkill -f "is-active xkeysnail" >/dev/null 2>&1
# Add additional shortcuts if needed, does not modify existing ones # Add additional shortcuts if needed, does not modify existing ones
if [[ $dename == 'gnome' || $dename == 'budgie' ]];then if [[ $dename == 'gnome' || $dename == 'budgie' ]];then