summaryrefslogtreecommitdiffstats
path: root/db-repo-remove
diff options
context:
space:
mode:
Diffstat (limited to 'db-repo-remove')
-rwxr-xr-xdb-repo-remove7
1 files changed, 1 insertions, 6 deletions
diff --git a/db-repo-remove b/db-repo-remove
index 6fa0e05..b01910f 100755
--- a/db-repo-remove
+++ b/db-repo-remove
@@ -31,11 +31,6 @@ done
msg "Removing $pkgname from [$repo]..."
for tarch in ${tarches[@]}; do
- if [ ! -f "$ftppath/$tarch/$repo$DBEXT" ]; then
- die "No database found at '$ftppath/$tarch', nothing more to do"
- fi
-
- /usr/bin/repo-remove -q "$ftppath/$tarch/$repo$DBEXT" ${pkgname} >/dev/null
- set_repo_permission "${repo}" "${tarch}"
+ arch_repo_remove "${repo}" "${tarch}" ${pkgname}
repo_unlock $repo $tarch
done