summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-19 14:24:28 +0200
committerErich Eckner <git@eckner.net>2016-04-19 14:24:28 +0200
commit85b4550c822ac7db32341fe9bac06956ef66066e (patch)
treef02aa7eeb2f8bf00bc4c6740cd2ac3ef074f2eec
parentb4b99f6bb4f3167df6099dd92a936439919b92e3 (diff)
downloadarchlinuxewe-85b4550c822ac7db32341fe9bac06956ef66066e.tar.xz
archPackagesUpdate löscht jetzt auch Pakete ohne Signatur im Ordner "any"
-rwxr-xr-xarchPackagesUpdate4
1 files changed, 2 insertions, 2 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index 193ab950a..a603a196a 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -108,8 +108,8 @@ if ${cleanUnsigned} && ${aufRechenknecht}
then
ssh paule@127.0.0.1 '
rmPaket() {
- [ "$(basename "$(pwd)")" == "any" ] && return
- repo-remove -v -s -k 0x20194BA1 archlinuxewe.db.tar.gz "${1%-*-*-*.pkg.tar.xz}"
+ [ "$(basename "$(pwd)")" == "any" ] || \
+ repo-remove -v -s -k 0x20194BA1 archlinuxewe.db.tar.gz "${1%-*-*-*.pkg.tar.xz}"
rm "$1"
[ -e "$1.sig" ] && rm "$1.sig"
}