Fix duplicated icon output on elementary OS

This commit is contained in:
Dylan 2016-01-25 01:22:45 +11:00
parent ef626b2c36
commit 58b0cf9a90
1 changed files with 2 additions and 2 deletions

4
fetch
View File

@ -906,13 +906,13 @@ getgtk () {
gtk2theme=${gtk2theme//\"/}
[ "$gtk2theme" ] && \
gtktheme="$gtk2theme [GTK2], "
gtk2theme="$gtk2theme [GTK2], "
# Format the string
gtk3theme=${gtk3theme/${name}*=/}
gtk3theme=${gtk3theme//\"/}
gtk3theme=${gtk3theme/[[:space:]]}
gtktheme="${gtktheme}${gtk3theme} [GTK3] "
gtktheme="${gtk2theme}${gtk3theme} [GTK3] "
# Check to see if gtk2 and gtk3 theme are identical
if [ "$gtk2theme" ] && [ "$gtk2theme" == "$gtk3theme" ]; then