diff options
author | Alexander Agura | 2020-02-23 19:46:35 +0200 |
---|---|---|
committer | Alexander Agura | 2020-02-23 19:47:05 +0200 |
commit | a2ec896c0bb2a58d763bf65354b2a4d7768b8e45 (patch) | |
tree | 0c9b0128d321b4c385434b84d9bc0d85df6feb2a | |
parent | c750df798d9f2b0092bdf75092b8c15d59e66152 (diff) | |
download | aur-a2ec896c0bb2a58d763bf65354b2a4d7768b8e45.tar.gz |
It didn't break if you fixed it in 5 minutes
-rw-r--r-- | asus-fan-control.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asus-fan-control.install b/asus-fan-control.install index e6392636a88c..34acc2afef58 100644 --- a/asus-fan-control.install +++ b/asus-fan-control.install @@ -20,7 +20,7 @@ post_upgrade() { # there are some changes in 3.0.0, so print the post_install message again and move old config if [ "$(vercmp '3.0.0-1' "$2" )" = '1' ]; then post_install - mv -f /etc/asus-fan-control/{custom-,}temps + test -f /etc/asus-fan-control/custom-temps && mv /etc/asus-fan-control/{custom-,}temps fi } @@ -29,6 +29,6 @@ pre_remove(){ systemctl disable asus-fan-control echo 'You mihgt want to reboot your system to restore the default fan speed' if [ -f /etc/asus-fan-control/custom-temps ]; then - echo "Run 'rm /etc/asus-fan-control/custom-temps' to remove your custom fan speed policy" + echo "Run 'rm /etc/asus-fan-control/temps' to remove your custom fan speed policy" fi } |