aboutsummaryrefslogtreecommitdiffstats
path: root/clean_packages
diff options
context:
space:
mode:
Diffstat (limited to 'clean_packages')
-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