aboutsummaryrefslogtreecommitdiffstats
path: root/clean_built_package_dir
diff options
context:
space:
mode:
Diffstat (limited to 'clean_built_package_dir')
-rwxr-xr-xclean_built_package_dir6
1 files changed, 6 insertions, 0 deletions
diff --git a/clean_built_package_dir b/clean_built_package_dir
new file mode 100755
index 0000000..150c335
--- /dev/null
+++ b/clean_built_package_dir
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+source "$HOME"/.makepkg.conf
+
+find -L "$REPODIR" -type l
+paccache -c "$PKGDEST" -k2 -r