summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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."