aboutsummaryrefslogtreecommitdiffstats
path: root/clean_packages
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-10-12 13:32:52 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2014-10-12 13:32:52 +0100
commit255abaed61fe4a6a2379df71834b99de45a02441 (patch)
tree9fab183e53252c247361009393e6996da2fa5add /clean_packages
parent7bc912f4f413c2e140979b1f79d44e3129c7e0b1 (diff)
downloadvcs-rebuild-255abaed61fe4a6a2379df71834b99de45a02441.tar.xz
add tty-solitaire, delete broken symlinks from pkgbuild dir
Diffstat (limited to 'clean_packages')
-rwxr-xr-xclean_packages7
1 files changed, 7 insertions, 0 deletions
diff --git a/clean_packages b/clean_packages
new file mode 100755
index 0000000..45ccdac
--- /dev/null
+++ b/clean_packages
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+source $(dirname $0)/config.bash
+
+paccache -c "$PKGDEST" -k1 -m "$POOL"/trash
+find -L "$REPODIR" -type l -delete
+find -L "$PKGBUILD_DIR" -type l -delete