diff options
Diffstat (limited to 'febootstrap.sh')
-rwxr-xr-x | febootstrap.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/febootstrap.sh b/febootstrap.sh index 67687e5..6b46ed4 100755 --- a/febootstrap.sh +++ b/febootstrap.sh @@ -239,8 +239,7 @@ else fi # Clean up the yum repository. -# XXX We shouldn't just rm files. if [ "$clean" = "yes" ]; then - rm -rf "$target"/var/cache/yum/febootstrap - rm -rf "$target"/var/cache/yum/febootstrap-updates + febootstrap-run "$target" -- rm -rf /var/cache/yum/febootstrap + febootstrap-run "$target" -- rm -rf /var/cache/yum/febootstrap-updates fi |