summaryrefslogtreecommitdiff
path: root/db-remove
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-05-25 01:52:20 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-05-25 01:52:20 -0600
commite960e11bfb0d74cf545595ebfabe4965e3a5b1ed (patch)
treed8b352972cc8e0d590ece3654f2e68498343954e /db-remove
parent34ec87b2afc83054af91d982f0b9b7447437c967 (diff)
Backport simple changes from the lukeshu/cleanup+xbs2+stuff branch
- db-move: rename dir_to to xbsrepo_to - db-move: fix typo in comment - db-move: add a diagnostic message - db-remove: wrap a line
Diffstat (limited to 'db-remove')
-rwxr-xr-xdb-remove3
1 files changed, 2 insertions, 1 deletions
diff --git a/db-remove b/db-remove
index f761f22..dcbe4b4 100755
--- a/db-remove
+++ b/db-remove
@@ -35,7 +35,8 @@ for pkgbase in "${pkgbases[@]}"; do
remove_pkgs+=($(. "$path/PKGBUILD"; echo "${pkgname[@]}"))
xbs unrelease "$pkgbase" "$repo" "$arch"
else
- warning "%s not found in %s for %s" "$pkgbase" "$(xbs name)" "$repo-$arch"
+ warning "%s not found in %s for %s" \
+ "$pkgbase" "$(xbs name)" "$repo-$arch"
warning "Removing only %s from the repo" "$pkgbase"
warning "If it was a split package you have to remove the others yourself!"
remove_pkgs+=("$pkgbase")