Delete febootstrap-updates cache (viliar.net.ru).
authorRichard Jones <rjones@redhat.com>
Sun, 24 May 2009 18:20:15 +0000 (19:20 +0100)
committerRichard Jones <rjones@redhat.com>
Sun, 24 May 2009 18:20:15 +0000 (19:20 +0100)
febootstrap.sh

index 48b8fd9..67687e5 100755 (executable)
@@ -239,6 +239,8 @@ else
 fi
 
 # Clean up the yum repository.
 fi
 
 # Clean up the yum repository.
+# XXX We shouldn't just rm files.
 if [ "$clean" = "yes" ]; then
     rm -rf "$target"/var/cache/yum/febootstrap
 if [ "$clean" = "yes" ]; then
     rm -rf "$target"/var/cache/yum/febootstrap
+    rm -rf "$target"/var/cache/yum/febootstrap-updates
 fi
 fi