aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-05-28 14:13:08 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-05-28 14:13:08 +0100
commit95c316e2ad052c0eca23fb4b2d89824e0ed08259 (patch)
tree96340ed27b455ebbefb18a932309592a0550b255
parent3e97966c77fb8798ded73793119644faeec7c96b (diff)
downloadvcs-rebuild-95c316e2ad052c0eca23fb4b2d89824e0ed08259.tar.xz
clean_packages: run paccache in REPO_POOL
-rwxr-xr-xclean_packages6
1 files changed, 3 insertions, 3 deletions
diff --git a/clean_packages b/clean_packages
index 1c3f48b..1af5179 100755
--- a/clean_packages
+++ b/clean_packages
@@ -2,6 +2,6 @@
source $(dirname $0)/config.bash
-paccache -c "$PKGDEST" -k1 -m "$REPO_POOL"/trash
-find -L "$REPO_ROOT" -type l -delete
-find -L "$PKGBUILD_DIR" -type l -delete
+paccache -c "$REPO_POOL" -k1 -m "$REPO_POOL"/trash
+find -L "$REPO_ROOT" -maxdepth 1 -type l -delete
+find -L "$PKGBUILD_DIR" -maxdepth 1 -type l -delete