[pacman-dev] [PATCH] repo-add: improve delta file detection on removal
27 Jan
2015
27 Jan
'15
1:05 p.m.
This allows use to remove a package with the name "foo.delta" from the repos. Signed-off-by: Allan McRae <allan@archlinux.org> --- scripts/repo-add.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index 4864d46..b2789a8 100644 --- a/scripts/repo-add.sh.in +++ b/scripts/repo-add.sh.in @@ -561,7 +561,7 @@ add() { } remove() { - if [[ $1 == "*-*-*_to_*-*-*.delta" ]]; then + if [[ $1 = *-*-*_to_*-*-*.delta ]]; then deltafile=$1 msg "$(gettext "Searching for delta '%s'...")" "$deltafile" if db_remove_delta "$deltafile"; then -- 2.2.2
3603
Age (days ago)
3603
Last active (days ago)
0 comments
1 participants
participants (1)
-
Allan McRae