From 40e613ef758173632151d7d84e6d57599934932b Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 25 Sep 2017 13:08:13 +0200 Subject: remove symlink early --- systemd/pacman-offline | 6 +++--- 1 file 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 -- cgit v1.2.3-54-g00ecf