diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-12-31 14:12:55 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-12-31 14:12:55 -0500 |
commit | df9f6b1ba47dc31f058b2c935bcfdc1afe2aef8d (patch) | |
tree | 9fb0da291e50a9ff05acea8c813b752ca50f0b99 /cron-jobs/ftpdir-cleanup | |
parent | 63810122211aa60b056895989984eaccf6242c58 (diff) | |
parent | 0b43e8cdee1ee46ea79e4d089136e76e767b4d5b (diff) |
Merge branch 'arch' into cleanup3
Diffstat (limited to 'cron-jobs/ftpdir-cleanup')
-rwxr-xr-x | cron-jobs/ftpdir-cleanup | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/cron-jobs/ftpdir-cleanup b/cron-jobs/ftpdir-cleanup index e1294bd..8f5cb3c 100755 --- a/cron-jobs/ftpdir-cleanup +++ b/cron-jobs/ftpdir-cleanup @@ -3,15 +3,6 @@ . "$(dirname $0)/../config" . "$(dirname $0)/../db-functions" -# just like mv -f, but we touch the file and then copy the content so -# default ACLs in the target dir will be applied -mv_acl() { - rm -f "$2" - touch "$2" - cat "$1" >"$2" || return 1 - rm -f "$1" -} - clean_pkg() { local pkg local target |