summaryrefslogtreecommitdiff
path: root/data/mate-wm
diff options
context:
space:
mode:
authorMike Gabriel <[email protected]>2018-07-06 15:14:16 +0200
committerraveit65 <[email protected]>2018-07-07 10:01:50 +0200
commitf96eb6b4f4501e99a1e289c08ecd618d435d8a78 (patch)
tree7569efdb8c306c00ddc24352f384c042ef2d4d3b /data/mate-wm
parent8f35c049172ab4bb1f73069e6a98f29ab45c4c0b (diff)
downloadmate-session-manager-f96eb6b4f4501e99a1e289c08ecd618d435d8a78.tar.bz2
mate-session-manager-f96eb6b4f4501e99a1e289c08ecd618d435d8a78.tar.xz
Strip outer single quotes from string value returned by gsettings in mate-wm script.
See Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889907
Diffstat (limited to 'data/mate-wm')
-rwxr-xr-xdata/mate-wm2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/mate-wm b/data/mate-wm
index a0d6edc..0c90b76 100755
--- a/data/mate-wm
+++ b/data/mate-wm
@@ -42,7 +42,7 @@ done
# WINDOW_MANAGER overrides all
if [ -z "$WINDOW_MANAGER" ] ; then
- WINDOW_MANAGER=`gsettings get org.mate.session.required-components windowmanager 2> /dev/null`
+ WINDOW_MANAGER=`gsettings get org.mate.session.required-components windowmanager 2> /dev/null | sed -r -e "s/^'([^']*)'$/\\1/"`
fi
# Migrate compiz to compiz-manager if possible and needed