summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-21 11:47:55 +0200
committerErich Eckner <git@eckner.net>2016-04-21 11:47:55 +0200
commit4f434d935734dba326938a2a1eb5745f92758f3b (patch)
tree5cfb4900ccf199ba0c697ef8423680c5e314d9f3
parent92d94e9c0a5dbc10b31926b08fd07cfc7dd5de2a (diff)
downloadarchlinuxewe.git.save-4f434d935734dba326938a2a1eb5745f92758f3b.tar.xz
archPackagesUpdate löscht jetzt auch Paketdateien, die nicht in einer Datenbank standen (z.B. in any)
-rwxr-xr-xarchPackagesUpdate4
1 files changed, 2 insertions, 2 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index 506a534c..241896a5 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -439,7 +439,6 @@ then
}
addPaket() {
- [ "$(basename "$(pwd)")" == "any" ] && return
neu="$1"
for alt in $(
ls -1 | \
@@ -449,7 +448,8 @@ then
[ "${alt}" == "${neu}" ] && continue
rmPaket "${alt}"
done
- repo-add '${checkDbSig}' -s -k 0x20194BA1 archlinuxewe.db.tar.gz "${neu}"
+ [ "$(basename "$(pwd)")" == "any" ] || \
+ repo-add '${checkDbSig}' -s -k 0x20194BA1 archlinuxewe.db.tar.gz "${neu}"
}
cd '${pkgDir}/${arch}/'