X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=febootstrap.sh;h=6b46ed4cdeae682a9ed859e7630f9ceb67e1dc64;hb=fd8f894830080d466e97b334f8c462dbc8e8baf3;hp=67687e555f97b6ea85f16d10f5505a893f96564a;hpb=10573678d072741674cdc75108a337f361ebae1e;p=febootstrap.git 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