Skip to content

Commit

Permalink
dev/update: remove only the correct files
Browse files Browse the repository at this point in the history
So that .htaccess is left alone
  • Loading branch information
bagder committed Sep 24, 2024
1 parent 18481a9 commit 93894b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dev/update.pl
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@
}

if($new) {
# first remove oldies
system('find inbox -mtime +12 -exec rm {} \;');
# remove oldies
system('find inbox -mtime +20 -name "inbox*" -exec rm {} \;');
system('find inbox -mtime +20 -name "build*" -exec rm {} \;');

# build md5 checksum file
system("md5sum inbox/inbox*log > md5");
Expand Down

0 comments on commit 93894b0

Please sign in to comment.