summaryrefslogtreecommitdiffstats
path: root/misc-scripts/ftpdir-cleanup
AgeCommit message (Collapse)AuthorFilesLines
2009-07-21Very minor additionsFrancois Charette1-1/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-21Bugfix: make TMPDIR within the for loopFrancois Charette1-2/+5
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-21Refactor ftpdir-cleanup to handle all archesFrancois Charette1-117/+150
This may look like a rather large patch, but the changes are mostly a reshuffling of the code to loop over all arches first, and then handle the arch-indep packages. The cronjob has been changed accordingly. Added new category DELETESYMLINKS, which are deleted instead of being moved to package-cleanup. I have also fixed the arch-specific issue with the ftppath, using parameters in config instead. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-21any support: use relative symlinksAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-21ftpdir-cleanup: Fix ARCHINDEP parsingAaron Griffin1-1/+2
Failed hard on empty 'any' directories Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-21ftpdir-cleanup: Fix the symlink restore loopAaron Griffin1-22/+7
Previous logic was stupid... let's just check the missing files. If it's missing and exists in the any dir, then common sense says we deleted a symlink somewhere... Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-21ftpdir-cleanup: Fixes for 'any' supportAaron Griffin1-10/+40
* Break out ftppath, base it on ftbpath_base * Only check ARCHINDEPFILES if the any dir exists * Attempt to restore symlinks before moving 'any' files out of the way Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-20ftpdir-cleanup: Corrections for 'any' packagesAaron Griffin1-2/+4
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-17ftpdir-cleanup: Allow configurable destination dirAaron Griffin1-8/+9
3rd argument to the script Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-06-12fixes for ftpdir-cleanupFrançois Charette1-2/+2
* don't add files with arch=any to EXTRAFILES * replace && by -a within [ ] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-13use pkgext defined in makepkg.confPierre Schmitz1-2/+2
Signed-off-by: Pierre Schmitz <pierre@archlinux.de> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-03-20ftpdir-cleanup: remove arch-independent packagesAbhishek Dasgupta1-1/+25
Removes architecture independent packages which are not symlinked in any of the architecture repositories.
2008-11-21Fix misc-scripts/ftpdir-cleanup pathing for /srvJan de Groot1-5/+5
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-20Make blank lines conditionalAaron Griffin1-2/+4
Mainly for output cleanup Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-20Make sure ftpdir-cleanup actually does work before outputtingAaron Griffin1-0/+6
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-29Move ftpdir-cleanup to misc-scriptsAaron Griffin1-0/+116
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>