aboutsummaryrefslogtreecommitdiff
path: root/src/simplaret
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-10-14 11:30:03 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2006-10-14 11:30:03 +0000
commit7c417b97c38158a7b0d4978bbb6f28174cc9aee3 (patch)
treefeb356ced11097fb9d077c6d4dc5ae59e72aeabb /src/simplaret
parent359f9fde359245fd4ed8168dd3deb5deae86ff2a (diff)
downloadsimplepkg-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-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