Use `rm -rf' on locale files, so works with RHEL 5.
[febootstrap.git] / 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