Browse Source

gnome extension with no schema2

bookworm
pvincent 3 years ago
parent
commit
cb47094a66
  1. 2
      src/main

2
src/main

@ -204,7 +204,7 @@ EXTENSIONS=(
for extension in "${EXTENSIONS[@]}"; do for extension in "${EXTENSIONS[@]}"; do
if [[ ! -d $HOME/.local/share/gnome-shell/extensions/$extension ]];then if [[ ! -d $HOME/.local/share/gnome-shell/extensions/$extension ]];then
gnome-extensions-cli install $extension gnome-extensions-cli install $extension
if [ -d $HOME/.local/share/gnome-shell/extensions/$extension/schemas]; then
if [[ -d $HOME/.local/share/gnome-shell/extensions/$extension/schemas ]]; then
sudo cp $HOME/.local/share/gnome-shell/extensions/$extension/schemas/*.gschema.xml /usr/share/glib-2.0/schemas/ sudo cp $HOME/.local/share/gnome-shell/extensions/$extension/schemas/*.gschema.xml /usr/share/glib-2.0/schemas/
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/ sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
fi fi

Loading…
Cancel
Save