Actually work on RHEL

This commit is contained in:
Anthony Rose 2021-11-24 15:42:19 +00:00
parent e12bf600c3
commit 03c6a83cc8

View file

@ -56,7 +56,7 @@ set_gnome_extensions () {
return
fi
# Bash-specific test.
if [[ "$(. /etc/os-release && echo ${ID_LIKE:-none})" == *rhel* ]]
if [[ "$(. /etc/os-release && echo ${ID:-none})" == rhel ]] || [[ "$(. /etc/os-release && echo ${ID_LIKE:-none})" == *rhel* ]]
then
dashtodock=dash-to-dock@gnome-shell-extensions.gcampax.github.com
else