diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-11-02 16:06:23 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-11-02 16:06:23 (GMT) |
commit | ddf28766b17e070a1488b7e4eb3ea67c6b7c94fe (patch) | |
tree | 1075bc8a93195f0bb3adb7c276a95979d33a1f28 /abs/core/LinHES-system/cacheclean | |
parent | 84cc491a07629c247415893ed26b51cdf9322c39 (diff) | |
download | linhes_pkgbuild-ddf28766b17e070a1488b7e4eb3ea67c6b7c94fe.zip linhes_pkgbuild-ddf28766b17e070a1488b7e4eb3ea67c6b7c94fe.tar.gz linhes_pkgbuild-ddf28766b17e070a1488b7e4eb3ea67c6b7c94fe.tar.bz2 |
LinHES-system: lh_system_job: add some excludes
cacheclean: adjust pacman cache dir
Diffstat (limited to 'abs/core/LinHES-system/cacheclean')
-rwxr-xr-x | abs/core/LinHES-system/cacheclean | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/LinHES-system/cacheclean b/abs/core/LinHES-system/cacheclean index cfc8d58..24032c9 100755 --- a/abs/core/LinHES-system/cacheclean +++ b/abs/core/LinHES-system/cacheclean @@ -1,5 +1,5 @@ #!/usr/bin/env python2 -"""cacheclean - a simple python script to clean up the /data/var/cache/pacman/pkg directory. +"""cacheclean - a simple python script to clean up the /data/storage/disk0/pacman/pkg directory. More versatile than 'pacman -Sc' in that you can select how many old versions to keep. Usage: cacheclean {-p} {-v} <# of copies to keep> @@ -78,7 +78,7 @@ except getopt.GetoptError as msg: sys.exit(1) # change to the pkg directory & get a sorted list of its contents -os.chdir('/data/var/cache/pacman/pkg') +os.chdir('/data/storage/disk0/pacman/pkg') pkg_fns = os.listdir('.') pkg_fns.sort() |