Fix error from multiple values

This commit is contained in:
Anthony Rose 2021-11-23 08:59:55 +00:00
parent 63e60a45a4
commit 397bb7df5a

View file

@ -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