summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsystemd/pacman-offline6
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