1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-24 07:02:30 +01:00

fixed bug in wmaker.inst

This commit is contained in:
kojima
2001-01-09 15:51:20 +00:00
parent 8ed773a437
commit 35c5908565

View File

@@ -65,13 +65,15 @@ copy() {
elif [ "$file" = "WMRootMenu" ]; then
if [ "$LOCALE" ]; then
if [ -f $GLOBALDIR/plmenu.${LOCALE%_*} ]; then
cp $GLOBALDIR/plmenu.${LOCALE%_*} $GSDIR/Defaults/WMRootMenu
source=$GLOBALDIR/plmenu.${LOCALE%_*}
else
cp $GLOBALDIR/plmenu $GSDIR/Defaults/WMRootMenu
source=$GLOBALDIR/plmenu
fi
else
cp $GLOBALDIR/plmenu $GSDIR/Defaults/WMRootMenu
source=$GLOBALDIR/plmenu
fi
sed -e "s:#wmdatadir#:$GLOBALDIR:g" \
$source > $GSDIR/Defaults/WMRootMenu
else
if test "x$GNUSTEP_USER_ROOT" = "x"; then
sed -e "s:#wmdatadir#:$GLOBALDIR:g" \