From: Richard Jones Date: Wed, 6 May 2009 16:26:00 +0000 (+0100) Subject: Use `rm -rf' on locale files, so works with RHEL 5. X-Git-Tag: 1.9~1 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=63560b73d9a46092e2fa6e07d460e53a5965b6c9;p=febootstrap.git Use `rm -rf' on locale files, so works with RHEL 5. --- diff --git a/febootstrap-minimize.sh b/febootstrap-minimize.sh index b4f23c5..148de5c 100755 --- a/febootstrap-minimize.sh +++ b/febootstrap-minimize.sh @@ -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