From 6a59d3358117c90ec0183feb6b636358ae5a7946 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 24 Jan 2016 10:44:29 +1100 Subject: [PATCH] Fixed leading whitespace issue --- fetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fetch b/fetch index dcd6a016..9e866a2c 100755 --- a/fetch +++ b/fetch @@ -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]/}