diff options
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() |