summaryrefslogtreecommitdiff
path: root/locale_uninstall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'locale_uninstall.sh')
-rwxr-xr-xlocale_uninstall.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/locale_uninstall.sh b/locale_uninstall.sh
index 43facb33cd904..d38a5470e7912 100755
--- a/locale_uninstall.sh
+++ b/locale_uninstall.sh
@@ -59,6 +59,7 @@ fi
# This way, we can delete catalogs for locales that we had to install
# because they are symlinks.
locales=$(gen_nlspath "$destdir/$nlspath" "*" "$main_exec")
+locales=$(ls $locales 2> /dev/null)
for l in $locales; do
rm -f "$l"