summaryrefslogtreecommitdiff
path: root/cron-jobs/ftpdir-cleanup
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-12-31 14:12:55 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-12-31 14:12:55 -0500
commitdf9f6b1ba47dc31f058b2c935bcfdc1afe2aef8d (patch)
tree9fb0da291e50a9ff05acea8c813b752ca50f0b99 /cron-jobs/ftpdir-cleanup
parent63810122211aa60b056895989984eaccf6242c58 (diff)
parent0b43e8cdee1ee46ea79e4d089136e76e767b4d5b (diff)
Merge branch 'arch' into cleanup3
Diffstat (limited to 'cron-jobs/ftpdir-cleanup')
-rwxr-xr-xcron-jobs/ftpdir-cleanup9
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