summaryrefslogtreecommitdiffstats
path: root/misc-scripts/ftpdir-cleanup-repo
AgeCommit message (Collapse)AuthorFilesLines
2010-08-18Rewrite ftpdir-cleanupPierre Schmitz1-187/+0
* runtime reduced to < 1 second * uses file lists and the comm command * searches for missing packages * removes empty legacy directories like extra/os/any
2010-08-18Fix cleanup of old packagesPierre Schmitz1-1/+1
* This should fix the cleanup of packages that were not within the pacakge pool before being updated. * a test case for this was added
2010-08-13Use common functions to print messages, warnings and errorsPierre Schmitz1-49/+29
These functions are copied from makepkg
2010-08-08Move common function to db-functionsPierre Schmitz1-0/+207
db-functions now sets an individual $WORKDIR and implements trap functinos that remove locks on exit or error. There are new functions to lock and unlock the running script. misc-scripts/ftpdir-cleanup was renamed to ftpdir-cleanup-repo as the cron-job had the same name. Script names have to be unique when using db-functions.