From 1d1c02256770f6b88272a9d4868db664e6508d8c Mon Sep 17 00:00:00 2001 From: pvincent Date: Sun, 10 Sep 2023 09:21:20 +0400 Subject: [PATCH] fix gschema string interpolation --- README.md | 8 +++----- src/main | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ab766a2..507ebc2 100644 --- a/README.md +++ b/README.md @@ -18,15 +18,13 @@ DONE * [x] Bookworm ready -requirements for installation process ------------- +requirements before installation process +---------------------------------------- * curl * git -`sudo apt install -y curl git` - install one-liner ----------------- -`curl https://git.artcode.re/pvincent/debian-gnome/raw/branch/master/src/install.sh | bash -s --` \ No newline at end of file +`sudo apt install -y curl git && curl https://git.artcode.re/pvincent/debian-gnome/raw/branch/master/src/install.sh | bash -s --` \ No newline at end of file diff --git a/src/main b/src/main index fc4138b..ec1a13c 100755 --- a/src/main +++ b/src/main @@ -215,7 +215,7 @@ EXTENSIONS=( for extension in "${EXTENSIONS[@]}"; do if [[ ! -d $HOME/.local/share/gnome-shell/extensions/$extension ]]; then "$HOME/.local/bin/gext" install "$extension" - 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/ else echo "extension <${extension}> already installed!" fi