mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-03 04:14:20 +01:00
fixed bug in wmaker.inst
This commit is contained in:
@@ -65,13 +65,15 @@ copy() {
|
|||||||
elif [ "$file" = "WMRootMenu" ]; then
|
elif [ "$file" = "WMRootMenu" ]; then
|
||||||
if [ "$LOCALE" ]; then
|
if [ "$LOCALE" ]; then
|
||||||
if [ -f $GLOBALDIR/plmenu.${LOCALE%_*} ]; then
|
if [ -f $GLOBALDIR/plmenu.${LOCALE%_*} ]; then
|
||||||
cp $GLOBALDIR/plmenu.${LOCALE%_*} $GSDIR/Defaults/WMRootMenu
|
source=$GLOBALDIR/plmenu.${LOCALE%_*}
|
||||||
else
|
else
|
||||||
cp $GLOBALDIR/plmenu $GSDIR/Defaults/WMRootMenu
|
source=$GLOBALDIR/plmenu
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
cp $GLOBALDIR/plmenu $GSDIR/Defaults/WMRootMenu
|
source=$GLOBALDIR/plmenu
|
||||||
fi
|
fi
|
||||||
|
sed -e "s:#wmdatadir#:$GLOBALDIR:g" \
|
||||||
|
$source > $GSDIR/Defaults/WMRootMenu
|
||||||
else
|
else
|
||||||
if test "x$GNUSTEP_USER_ROOT" = "x"; then
|
if test "x$GNUSTEP_USER_ROOT" = "x"; then
|
||||||
sed -e "s:#wmdatadir#:$GLOBALDIR:g" \
|
sed -e "s:#wmdatadir#:$GLOBALDIR:g" \
|
||||||
|
|||||||
Reference in New Issue
Block a user