diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-08-16 21:28:47 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-08-16 21:28:47 +0200 |
commit | c2859d3c59b34fa1a188e2020fee3eba350abdce (patch) | |
tree | 83289f7bac848d710abaf08817b7198b83eef7f7 /clean_built_package_dir | |
parent | 903a47e74bae60ce9ba4bf4884040363b6aaa79c (diff) | |
download | vcs-rebuild-c2859d3c59b34fa1a188e2020fee3eba350abdce.tar.xz |
Add script to clean out old packages
Diffstat (limited to 'clean_built_package_dir')
-rwxr-xr-x | clean_built_package_dir | 6 |
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 |