go about deleting the files differently
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
parent
b81d96f5d4
commit
5f9f66a2ca
@ -133,5 +133,5 @@ do
|
||||
./releng/scripts/srpm-excluded-arch.py -a $arches --path $DESTDIR/compose/Everything/source/tree/SRPMS/\*/ >$DESTDIR/logs/excludearch-$koji.log
|
||||
done
|
||||
|
||||
find $TARGET_DIR -xdev -depth -mtime +14 \( -type f -o -type l \) -delete -o -type d -empty -delete
|
||||
find $TARGET_DIR -xdev -depth -maxdepth 2 -mtime +14 -exec rm -rf {} \;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user