summaryrefslogtreecommitdiffstats
path: root/db-remove
diff options
context:
space:
mode:
Diffstat (limited to 'db-remove')
-rwxr-xr-xdb-remove7
1 files changed, 1 insertions, 6 deletions
diff --git a/db-remove b/db-remove
index b246ce3..cc65eb9 100755
--- a/db-remove
+++ b/db-remove
@@ -41,11 +41,6 @@ else
fi
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" ${pkgnames[@]} >/dev/null
- set_repo_permission "${repo}" "${tarch}"
+ arch_repo_remove "${repo}" "${tarch}" ${pkgnames[@]}
repo_unlock $repo $tarch
done