summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-10-21 19:43:48 +0200
committerErich Eckner <git@eckner.net>2020-10-21 19:43:48 +0200
commite141bb63d34dba59d0deb326c53c25c7b7be1a78 (patch)
treec223f81199eab14f532ebfb5d47b4c2004b03c1a /archPackagesUpdate
parentd3a2b5eae8e6f114f96d4bc9fa608c358692f16e (diff)
downloadarchlinuxewe-e141bb63d34dba59d0deb326c53c25c7b7be1a78.tar.xz
Revert "archPackagesUpdate: fix shell string manipulation"
This reverts commit 4fa408392a71fcbe64e2ba3335fce816fbee300b.
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate4
1 files changed, 2 insertions, 2 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index ab0093888..a796dee11 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -249,9 +249,9 @@ if ${cleanUnsigned} && ${aufRechenknecht}; then
rmPaket() {
if [ "$(basename "$(pwd)")" != "any" ]; then
if [ "$(basename "$(pwd)")" == "releng" ]; then
- repo-remove releng.db.tar.gz "${1%-*-*-*.pkg.tar.*}"
+ repo-remove releng.db.tar.gz "${1%%-*-*-*.pkg.tar.*}"
else
- repo-remove %s -s -k 0x3CFB0AD8F60030F8 archlinuxewe.db.tar.gz "${1%-*-*-*.pkg.tar.*}"' \
+ repo-remove %s -s -k 0x3CFB0AD8F60030F8 archlinuxewe.db.tar.gz "${1%%-*-*-*.pkg.tar.*}"' \
"${checkDbSig}"
printf '
fi