index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2015-01-27 23:05:10 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-02-12 13:35:48 +1000 |
commit | dff6982c83e2db31b8a7925082fce7977eaed233 (patch) | |
tree | 39adcc8ec30b13858512f3bb0b5fe536367912f6 /scripts | |
parent | 660bd1caa1a0e39dd23f66cc853de963d20058d8 (diff) |
-rw-r--r-- | scripts/repo-add.sh.in | 2 |
diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index 0da34b82..bf374443 100644 --- a/scripts/repo-add.sh.in +++ b/scripts/repo-add.sh.in @@ -548,7 +548,7 @@ add() { } remove() { - if [[ ${1##*.} == "delta" ]]; then + if [[ $1 = *-*-*_to_*-*-*.delta ]]; then deltafile=$1 msg "$(gettext "Searching for delta '%s'...")" "$deltafile" if db_remove_delta "$deltafile"; then |