summaryrefslogtreecommitdiff
path: root/db-remove
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-07-09 09:55:08 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-07-24 21:46:42 +0200
commitc26ba3ccee6700bc0be0031df959d96918f7800f (patch)
treee886180d05edbcb55d227438d6286cc0f295312e /db-remove
parent4e2e92406a4a8b71e3bb9665fbf09b69e39a9f55 (diff)
db-remove: remove package if not in svn
We know what the user wants us to do (remove a package from the repo and svn) so if it's not in svn it should still be removed from the db. Having to use a seperate tool (db-repo-remove) is confusing. Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'db-remove')
-rwxr-xr-xdb-remove3
1 files changed, 3 insertions, 0 deletions
diff --git a/db-remove b/db-remove
index 292af5d..b44eb33 100755
--- a/db-remove
+++ b/db-remove
@@ -38,6 +38,9 @@ if [ -d "${WORKDIR}/svn/$pkgbase/repos/$svnrepo" ]; then
/usr/bin/svn commit -q "${WORKDIR}/svn/$pkgbase" -m "$(basename $0): $pkgbase removed by $(id -un)"
else
warning "$pkgbase not found in $svnrepo"
+ warning "Removing only $pkgbase from the repo"
+ warning "If it was a split package you have to remove the others yourself!"
+ pkgnames=($pkgbase)
fi
for tarch in ${tarches[@]}; do