summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-19 14:58:10 +0200
committerErich Eckner <git@eckner.net>2016-04-19 14:58:10 +0200
commitf10149ef88810d0fffe1a9579b1bdebf8b70bcc0 (patch)
tree1d2a2dfe3095268b13739af93232a74d851d3cb9
parent5affee9445fea02c9e7fcb67b83d5b01c79bd2dd (diff)
downloadarchlinuxewe-f10149ef88810d0fffe1a9579b1bdebf8b70bcc0.tar.xz
archPackagesUpdate kann jetzt auch Pakete in "any" löschen
-rwxr-xr-xarchPackagesUpdate4
1 files changed, 2 insertions, 2 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index 8d5f66a76..e818de0e7 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -321,8 +321,8 @@ then
ssh paule@127.0.0.1 '
rmPaket() {
- [ "$(basename "$(pwd)")" == "any" ] && return
- repo-remove '${checkDbSig}' -s -k 0x20194BA1 archlinuxewe.db.tar.gz "${1%-*-*-*.pkg.tar.xz}"
+ [ "$(basename "$(pwd)")" == "any" ] || \
+ repo-remove '${checkDbSig}' -s -k 0x20194BA1 archlinuxewe.db.tar.gz "${1%-*-*-*.pkg.tar.xz}"
rm "$1"
[ -e "$1.sig" ] && rm "$1.sig"
}