1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-02 22:25:48 +01:00

A few bugfixes from users

This commit is contained in:
dan
2001-09-01 14:48:24 +00:00
parent 717392246a
commit 0ee6312164
5 changed files with 12 additions and 4 deletions

View File

@@ -66,7 +66,11 @@ copy() {
sed -e "s|~/GNUstep|$GSDIR|g" $source > $target
elif [ "$file" = "WMRootMenu" ]; then
if [ "$LOCALE" ]; then
if [ -f $GLOBALDIR/plmenu.${LOCALE%_*} ]; then
if [ -f $GLOBALDIR/plmenu.$LOCALE ]; then
source=$GLOBALDIR/plmenu.$LOCALE
elif [ -f $GLOBALDIR/plmenu.${LOCALE%.*} ]; then
source=$GLOBALDIR/plmenu.${LOCALE%.*}
elif [ -f $GLOBALDIR/plmenu.${LOCALE%_*} ]; then
source=$GLOBALDIR/plmenu.${LOCALE%_*}
elif [ -f $GLOBALDIR/menu.${LOCALE%_*} ]; then
source=$GLOBALDIR/menu.${LOCALE%_*}