Use `rm -rf' on locale files, so works with RHEL 5.
authorRichard Jones <rich@hakodate.home.annexia.org>
Wed, 6 May 2009 16:26:00 +0000 (17:26 +0100)
committerRichard Jones <rich@hakodate.home.annexia.org>
Wed, 6 May 2009 16:26:00 +0000 (17:26 +0100)
febootstrap-minimize.sh

index b4f23c5..148de5c 100755 (executable)
@@ -177,7 +177,7 @@ trap remove_tmpdir EXIT
 #----------------------------------------------------------------------
 
 if [ "$keep_locales" != "yes" ]; then
-    rm -f "$target"/usr/lib/locale/*
+    rm -rf "$target"/usr/lib/locale/*
     rm -rf "$target"/usr/share/locale
     rm -rf "$target"/usr/lib*/gconv
     rm -f "$target"/usr/bin/localedef