aboutsummaryrefslogtreecommitdiff
path: root/src/simplaret
diff options
context:
space:
mode:
Diffstat (limited to 'src/simplaret')
-rwxr-xr-xsrc/simplaret4
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