Handle extension name being different on RHEL/CentOS
This commit is contained in:
parent
8d95c9c6dd
commit
63e60a45a4
1 changed files with 7 additions and 1 deletions
|
@ -54,7 +54,13 @@ set_gnome_extensions () {
|
|||
# gnome-extensions not installed.
|
||||
return
|
||||
fi
|
||||
for ext in dash-to-dock@micxgx.gmail.com appindicatorsupport@rgcjonas.gmail.com
|
||||
if [ $(. /etc/os-release && echo ${ID_LIKE:-none}) == "*rhel*" ]
|
||||
then
|
||||
dashtodock=dash-to-dock@gnome-shell-extensions.gcampax.github.com
|
||||
else
|
||||
dashtodock=dash-to-dock@micxgx.gmail.com
|
||||
fi
|
||||
for ext in $dashtodock appindicatorsupport@rgcjonas.gmail.com
|
||||
do
|
||||
$gnomeextcmd enable -q $ext
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue