summaryrefslogtreecommitdiffstats
path: root/systemd/pacman-offline
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/pacman-offline')
-rwxr-xr-xsystemd/pacman-offline6
1 files changed, 3 insertions, 3 deletions
diff --git a/systemd/pacman-offline b/systemd/pacman-offline
index 5fecdb6..aab687b 100755
--- a/systemd/pacman-offline
+++ b/systemd/pacman-offline
@@ -11,11 +11,11 @@ fi
rm -f /system-update
# install updates
-pacman -S --noconfirm --needed archlinux-keyring
-pacman -Su --noconfirm
+pacman --sync --noconfirm --needed archlinux-keyring
+pacman --sync --noconfirm --sysupgrade
# clean up package cache
-pacman -Sc --noconfirm
+pacman --sync --noconfirm --clean
# reboot
systemctl reboot