From 7c417b97c38158a7b0d4978bbb6f28174cc9aee3 Mon Sep 17 00:00:00 2001 From: rhatto Date: Sat, 14 Oct 2006 11:30:03 +0000 Subject: some updates; see CHANGELOG for details git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@17 04377dda-e619-0410-9926-eae83683ac58 --- src/simplaret | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/simplaret') 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 -- cgit v1.2.3