-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#102 added removing old variant of service + typo (for not doubling d…
…river services during pdate to latest version)
- Loading branch information
Showing
2 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,10 +24,10 @@ then | |
fi | ||
|
||
# for removing "old" variant of systemd service of this driver (when was not used user template with @) | ||
rm -f /lib/systemd/system/asus_touchpad_numpad.service | ||
rm -f /etc/systemd/system/asus_touchpad_numpad.service | ||
if [[ $? != 0 ]] | ||
then | ||
echo "/lib/systemd/system/asus_touchpad_numpad.service cannot be removed correctly..." | ||
echo "/etc/systemd/system/asus_touchpad_numpad.service cannot be removed correctly..." | ||
fi | ||
|
||
systemctl disable asus_touchpad_numpad@$RUN_UNDER_USER.service | ||
|
@@ -40,7 +40,7 @@ fi | |
rm -f /etc/systemd/system/[email protected] | ||
if [[ $? != 0 ]] | ||
then | ||
echo "/lib/systemd/system/asus_touchpad_numpad.service cannot be removed correctly..." | ||
echo "/etc/systemd/system/asus_touchpad_numpad.service cannot be removed correctly..." | ||
exit 1 | ||
fi | ||
|
||
|