From cb47094a665951958812926488d8f6fff498b869 Mon Sep 17 00:00:00 2001 From: pvincent Date: Wed, 4 Aug 2021 01:15:08 +0400 Subject: [PATCH] gnome extension with no schema2 --- src/main | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main b/src/main index 701ddcc..15f921b 100755 --- a/src/main +++ b/src/main @@ -204,7 +204,7 @@ EXTENSIONS=( for extension in "${EXTENSIONS[@]}"; do if [[ ! -d $HOME/.local/share/gnome-shell/extensions/$extension ]];then 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 glib-compile-schemas /usr/share/glib-2.0/schemas/ fi