summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-09-28 22:37:01 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-09-28 22:37:01 +0200
commitc53dcadab9cebef99622f016fd828028aaab2c95 (patch)
treeec6c515ed419c530bb3dd6eb889573cf1a63ecec
parent40e613ef758173632151d7d84e6d57599934932b (diff)
downloadpacman-offline-c53dcadab9cebef99622f016fd828028aaab2c95.tar.gz
pacman-offline-c53dcadab9cebef99622f016fd828028aaab2c95.tar.zst
clean up package cache
-rwxr-xr-xsystemd/pacman-offline3
1 files changed, 3 insertions, 0 deletions
diff --git a/systemd/pacman-offline b/systemd/pacman-offline
index 54e2e03..051ebec 100755
--- a/systemd/pacman-offline
+++ b/systemd/pacman-offline
@@ -13,5 +13,8 @@ rm -f /system-update
# install updates
pacman -Su --noconfirm
+# clean up package cache
+pacman -Sc --noconfirm
+
# reboot
systemctl reboot