Gogh-Co/Gogh

apply-colors.sh has a bug

Closed this issue · 2 comments

Line 126 is currently this:
if [[ -z "${GS}"]] &&[[ -z "${DCONF}" ]] && [[ -z "${GCONF}" ]]; then

it should be this:
if [[ -z "${GS}" ]] && [[ -z "${DCONF}" ]] && [[ -z "${GCONF}" ]]; then

It's missing a couple spaces

Yes, Yesterday update break apply script.

On my Ubuntu workstation with gnome terminal:

/tmp/gogh.apply.EEXYdO: line 126: conditional binary operator expected
/tmp/gogh.apply.EEXYdO: line 126: syntax error near `-z'
/tmp/gogh.apply.EEXYdO: line 126: `        if [[ -z "${GS}"]] &&[[ -z "${DCONF}" ]] && [[ -z "${GCONF}" ]]; then'

Fixed in #449, should be closed.