summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-05-24 19:20:15 +0100
committerRichard Jones <rjones@redhat.com>2009-05-24 19:20:15 +0100
commit10573678d072741674cdc75108a337f361ebae1e (patch)
tree188af2ce3fb437d8c1ee99b2e833d1afcf58938b
parent346a893d8035212e8d2acbe3a14521df504116e2 (diff)
downloadfebootstrap-10573678d072741674cdc75108a337f361ebae1e.tar.gz
febootstrap-10573678d072741674cdc75108a337f361ebae1e.tar.xz
febootstrap-10573678d072741674cdc75108a337f361ebae1e.zip
Delete febootstrap-updates cache (viliar.net.ru).
-rwxr-xr-xfebootstrap.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/febootstrap.sh b/febootstrap.sh
index 48b8fd9..67687e5 100755
--- a/febootstrap.sh
+++ b/febootstrap.sh
@@ -239,6 +239,8 @@ 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
fi