aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/windowmaker/files/patch-util_wmaker.inst.in
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/windowmaker/files/patch-util_wmaker.inst.in')
-rw-r--r--x11-wm/windowmaker/files/patch-util_wmaker.inst.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11-wm/windowmaker/files/patch-util_wmaker.inst.in b/x11-wm/windowmaker/files/patch-util_wmaker.inst.in
new file mode 100644
index 000000000000..b8e4545d643c
--- /dev/null
+++ b/x11-wm/windowmaker/files/patch-util_wmaker.inst.in
@@ -0,0 +1,24 @@
+--- util/wmaker.inst.in 2001/01/08 01:41:27 1.1
++++ util/wmaker.inst.in 2001/01/08 01:48:25
+@@ -65,12 +65,18 @@
+ elif [ "$file" = "WMRootMenu" ]; then
+ if [ "$LOCALE" ]; then
+ if [ -f $GLOBALDIR/plmenu.${LOCALE%_*} ]; then
+- cp $GLOBALDIR/plmenu.${LOCALE%_*} $GSDIR/Defaults/WMRootMenu
++ sed -e "s|\$HOME/GNUstep|$GSDIR|g" \
++ -e "s:#wmdatadir#:$GLOBALDIR:g" \
++ $GLOBALDIR/plmenu.${LOCALE%_*} > $GSDIR/Defaults/WMRootMenu
+ else
+- cp $GLOBALDIR/plmenu $GSDIR/Defaults/WMRootMenu
++ sed -e "s|\$HOME/GNUstep|$GSDIR|g" \
++ -e "s:#wmdatadir#:$GLOBALDIR:g" \
++ $GLOBALDIR/plmenu > $GSDIR/Defaults/WMRootMenu
+ fi
+ else
+- cp $GLOBALDIR/plmenu $GSDIR/Defaults/WMRootMenu
++ sed -e "s|\$HOME/GNUstep|$GSDIR|g" \
++ -e "s:#wmdatadir#:$GLOBALDIR:g" \
++ $GLOBALDIR/plmenu > $GSDIR/Defaults/WMRootMenu
+ fi
+ else
+ if test "x$GNUSTEP_USER_ROOT" = "x"; then