Fixed leading whitespace issue

This commit is contained in:
Dylan 2016-01-24 10:44:29 +11:00
parent b5deb6b255
commit 6a59d33581

4
fetch
View file

@ -895,7 +895,6 @@ getgtk () {
# Format the strings
gtk2theme=${gtk2theme/${name}*=/}
gtk2theme=${gtk2theme//\"/}
gtk2theme=${gtk2theme/ / }
[ "$gtk2theme" ] && \
gtktheme="$gtk2theme [GTK2] "
@ -903,7 +902,6 @@ getgtk () {
# Format the string
gtk3theme=${gtk3theme/${name}*=/}
gtk3theme=${gtk3theme//\"/}
gtk3theme=${gtk3theme/ / }
gtktheme="${gtk2theme}${gtk3theme} [GTK3]"
# Check to see if gtk2 and gtk3 theme are identical
@ -913,6 +911,8 @@ getgtk () {
gtktheme="None"
fi
gtktheme=${gtktheme// /}
# Make the output shorter by removing "[GTKX]" from the string
if [ "$gtk_shorthand" == "on" ]; then
gtktheme=${gtktheme/ [GTK2]/}