From 356f59161269c8623cd994ae30ccf127e8f79461 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 2 Oct 2017 16:16:40 +0200 Subject: remove symlink before prepare --- bin/pacman-offline | 3 +++ 1 file changed, 3 insertions(+) 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." -- cgit v1.2.3-70-g09d2