Fix error from multiple values
This commit is contained in:
parent
63e60a45a4
commit
397bb7df5a
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,8 @@ set_gnome_extensions () {
|
||||||
# gnome-extensions not installed.
|
# gnome-extensions not installed.
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
if [ $(. /etc/os-release && echo ${ID_LIKE:-none}) == "*rhel*" ]
|
# Bash-specific test.
|
||||||
|
if [[ "$(. /etc/os-release && echo ${ID_LIKE:-none})" == *rhel* ]]
|
||||||
then
|
then
|
||||||
dashtodock=dash-to-dock@gnome-shell-extensions.gcampax.github.com
|
dashtodock=dash-to-dock@gnome-shell-extensions.gcampax.github.com
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue