aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-09-22 00:36:39 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-09-22 00:36:39 +0200
commitf212c9ef2c9479824308b3a5378e508d13020b46 (patch)
treed6e67e5116ff970e9bf159ad5ffc809007ee07fc /bin
downloadpacman-offline-f212c9ef2c9479824308b3a5378e508d13020b46.tar.gz
pacman-offline-f212c9ef2c9479824308b3a5378e508d13020b46.tar.zst
initial commit
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pacman-offline9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/pacman-offline b/bin/pacman-offline
new file mode 100755
index 0000000..35bff53
--- /dev/null
+++ b/bin/pacman-offline
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+# download packages
+pacman -Suw --noconfirm
+
+# enable system update
+ln -sf /var/cache/pacman/pkg /system-update