diff options
author | Michael Scherer <misc@mageia.org> | 2012-03-17 11:40:34 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-03-17 11:40:34 +0000 |
commit | b57061f407cad83b29d1af5ac09251a54795b673 (patch) | |
tree | ef3e5c0b22303fc2ed513290aa41c47688220231 /modules/draklive | |
parent | 335c3853cefd4495d4341686321d65b3306b8531 (diff) | |
download | puppet-b57061f407cad83b29d1af5ac09251a54795b673.tar puppet-b57061f407cad83b29d1af5ac09251a54795b673.tar.gz puppet-b57061f407cad83b29d1af5ac09251a54795b673.tar.bz2 puppet-b57061f407cad83b29d1af5ac09251a54795b673.tar.xz puppet-b57061f407cad83b29d1af5ac09251a54795b673.zip |
ireuse the same variable for the cleaning script of draklive
Diffstat (limited to 'modules/draklive')
-rwxr-xr-x | modules/draklive/files/clean-live.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/draklive/files/clean-live.sh b/modules/draklive/files/clean-live.sh index d095a4c5..cceb6a4a 100755 --- a/modules/draklive/files/clean-live.sh +++ b/modules/draklive/files/clean-live.sh @@ -12,4 +12,4 @@ find $DRAKLIVE_ROOT/{chroot/*,build/*/*} -maxdepth 0 -not -name dist -mtime +$(e MAX_DIST_AGE=20 find $DRAKLIVE_ROOT/build/*/dist -maxdepth 0 -mtime +$(expr $MAX_DIST_AGE - 1) -exec $RM {} \; -find /var/lib/draklive/build -maxdepth 1 -links 2 -exec rmdir {} \; +find $DRAKLIVE_ROOT/build -maxdepth 1 -links 2 -exec rmdir {} \; |