diff options
author | Christian Hesse <mail@eworm.de> | 2017-10-02 16:16:40 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2017-10-02 16:16:40 +0200 |
commit | 356f59161269c8623cd994ae30ccf127e8f79461 (patch) | |
tree | c5a15668e9ddd540239a35a37be7882aa14a5d16 | |
parent | a96875bcb72714b014ff42a1cff9c9ea522f93bb (diff) | |
download | pacman-offline-356f59161269c8623cd994ae30ccf127e8f79461.tar.gz pacman-offline-356f59161269c8623cd994ae30ccf127e8f79461.tar.zst |
remove symlink before prepare
-rwxr-xr-x | bin/pacman-offline | 3 |
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." |