diff options
author | Erich Eckner <git@eckner.net> | 2020-10-21 19:43:48 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-10-21 19:43:48 +0200 |
commit | e141bb63d34dba59d0deb326c53c25c7b7be1a78 (patch) | |
tree | c223f81199eab14f532ebfb5d47b4c2004b03c1a /archPackagesUpdate | |
parent | d3a2b5eae8e6f114f96d4bc9fa608c358692f16e (diff) | |
download | archlinuxewe.git.save-e141bb63d34dba59d0deb326c53c25c7b7be1a78.tar.xz |
Revert "archPackagesUpdate: fix shell string manipulation"
This reverts commit 4fa408392a71fcbe64e2ba3335fce816fbee300b.
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-x | archPackagesUpdate | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate index ab009388..a796dee1 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 |