index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-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 |