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.
|
||||
return
|
||||
fi
|
||||
if [ $(. /etc/os-release && echo ${ID_LIKE:-none}) == "*rhel*" ]
|
||||
# Bash-specific test.
|
||||
if [[ "$(. /etc/os-release && echo ${ID_LIKE:-none})" == *rhel* ]]
|
||||
then
|
||||
dashtodock=dash-to-dock@gnome-shell-extensions.gcampax.github.com
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue