Skip to content

Commit f96eb6b

Browse files
sunweaverraveit65
authored andcommitted
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
1 parent 8f35c04 commit f96eb6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/mate-wm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ done
4242

4343
# WINDOW_MANAGER overrides all
4444
if [ -z "$WINDOW_MANAGER" ] ; then
45-
WINDOW_MANAGER=`gsettings get org.mate.session.required-components windowmanager 2> /dev/null`
45+
WINDOW_MANAGER=`gsettings get org.mate.session.required-components windowmanager 2> /dev/null | sed -r -e "s/^'([^']*)'$/\\1/"`
4646
fi
4747

4848
# Migrate compiz to compiz-manager if possible and needed

0 commit comments

Comments
 (0)