aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-10-02 16:16:40 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-10-02 16:16:40 +0200
commit356f59161269c8623cd994ae30ccf127e8f79461 (patch)
treec5a15668e9ddd540239a35a37be7882aa14a5d16 /bin
parenta96875bcb72714b014ff42a1cff9c9ea522f93bb (diff)
downloadpacman-offline-356f59161269c8623cd994ae30ccf127e8f79461.tar.gz
pacman-offline-356f59161269c8623cd994ae30ccf127e8f79461.tar.zst
remove symlink before prepare
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pacman-offline3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/pacman-offline b/bin/pacman-offline
index 1cd4cdb..0b21b09 100755
--- a/bin/pacman-offline
+++ b/bin/pacman-offline
@@ -21,6 +21,9 @@ while getopts 'hy' opt; do
esac
done
+# remove the symlink for now, will be recreated it later
+rm -f /system-update
+
# check for available updates
if [ "$(pacman -Qu | grep -v '\[ignored\]' | wc -l)" -eq 0 ]; then
echo "No updates available."