diff options
-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 |