summaryrefslogtreecommitdiff
path: root/db-remove
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-05-25 01:36:39 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-05-25 01:36:39 -0600
commit34ec87b2afc83054af91d982f0b9b7447437c967 (patch)
tree10977822d0a8a168d6f5b45affff6f49e952f212 /db-remove
parentde1f6d3b16d6e833ec5df6e9f403aec7e2193962 (diff)
parentd0834f7e6bd53ea729374eab138bb38a36c73996 (diff)
Merge branch 'lukeshu/cleanup' into lukeshu/xbs
# Conflicts: # abslibre # config # cron-jobs/repo-sanity-check # db-remove # db-sync.conf
Diffstat (limited to 'db-remove')
-rwxr-xr-xdb-remove1
1 files changed, 1 insertions, 0 deletions
diff --git a/db-remove b/db-remove
index 05b1750..f761f22 100755
--- a/db-remove
+++ b/db-remove
@@ -29,6 +29,7 @@ done
remove_pkgs=()
for pkgbase in "${pkgbases[@]}"; do
msg "Removing %s from [%s]..." "$pkgbase" "$repo"
+
path="$(xbs releasepath "$pkgbase" "$repo" "$arch")"
if [ -d "$path" ]; then
remove_pkgs+=($(. "$path/PKGBUILD"; echo "${pkgname[@]}"))