diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2006-10-14 11:30:03 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2006-10-14 11:30:03 +0000 |
commit | 7c417b97c38158a7b0d4978bbb6f28174cc9aee3 (patch) | |
tree | feb356ced11097fb9d077c6d4dc5ae59e72aeabb /src/simplaret | |
parent | 359f9fde359245fd4ed8168dd3deb5deae86ff2a (diff) | |
download | simplepkg-7c417b97c38158a7b0d4978bbb6f28174cc9aee3.tar.gz simplepkg-7c417b97c38158a7b0d4978bbb6f28174cc9aee3.tar.bz2 |
some updates; see CHANGELOG for details
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@17 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'src/simplaret')
-rwxr-xr-x | src/simplaret | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simplaret b/src/simplaret index ed98402..b2b7d2b 100755 --- a/src/simplaret +++ b/src/simplaret @@ -275,8 +275,8 @@ function simplaret_purge { echo purging all packages older than $3 weeks for arch $ARCH and version $VERSION fi mtime="`echo "$3*7" | bc -l`" - for file in `find $STORAGE/$ARCH/$VERSION/ -mtime +$mtime | bc -l 2> /dev/null`; do - for extension in tgz asc; do + for file in `find $STORAGE/$ARCH/$VERSION/ -mtime +$mtime`; do + for extension in tgz asc meta; do if echo $file | grep -qe ".$extension$"; then rm $file fi |