diff --git a/src/main b/src/main index 85d01a1..701ddcc 100755 --- a/src/main +++ b/src/main @@ -204,8 +204,10 @@ EXTENSIONS=( for extension in "${EXTENSIONS[@]}"; do if [[ ! -d $HOME/.local/share/gnome-shell/extensions/$extension ]];then gnome-extensions-cli install $extension - 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/ + 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 else echo "extension <${extension}> already installed!" fi