diff options
author | Christian Hesse <mail@eworm.de> | 2017-09-25 13:08:13 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2017-09-25 13:08:13 +0200 |
commit | 40e613ef758173632151d7d84e6d57599934932b (patch) | |
tree | 9b3b6cdf2c10b82c1fd9a01f31322fb7fd5f3cda /systemd | |
parent | df10bb52910ae614ed9dce88540be7f7058cb1c5 (diff) | |
download | pacman-offline-40e613ef758173632151d7d84e6d57599934932b.tar.gz pacman-offline-40e613ef758173632151d7d84e6d57599934932b.tar.zst |
remove symlink early
Diffstat (limited to 'systemd')
-rwxr-xr-x | systemd/pacman-offline | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/systemd/pacman-offline b/systemd/pacman-offline index 9764666..54e2e03 100755 --- a/systemd/pacman-offline +++ b/systemd/pacman-offline @@ -7,11 +7,11 @@ if [ "$(readlink '/system-update')" != '/var/cache/pacman/pkg' ]; then exit 0 fi -# install updates -pacman -Su --noconfirm - # remove triggering symlink rm -f /system-update +# install updates +pacman -Su --noconfirm + # reboot systemctl reboot |