Add gnome-shell-extension-installer
This commit is contained in:
parent
dc07cd68cc
commit
bc1bf40da9
2 changed files with 13 additions and 9 deletions
|
@ -1,15 +1,8 @@
|
|||
#!/bin/bash
|
||||
commandName=gnome-shell-extension-installer;
|
||||
extensionLocation=/usr/share/gnome-shell/extensions;
|
||||
contextRoot="$(mktemp -d)";
|
||||
pushd "$contextRoot" > /dev/null;
|
||||
sudo apt install -y jq;
|
||||
|
||||
wget -O "$commandName" "https://github.com/brunelli/gnome-shell-extension-installer/raw/master/gnome-shell-extension-installer";
|
||||
sudo install "$commandName" /usr/local/bin;
|
||||
|
||||
popd > /dev/null;
|
||||
rm -rf "$contextRoot";
|
||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||
. "../../gnome-shell-extension-installer/install.sh";
|
||||
uuids=();
|
||||
|
||||
for id in
|
||||
|
@ -43,3 +36,4 @@ do
|
|||
done
|
||||
|
||||
killall -SIGQUIT gnome-shell;
|
||||
popd > /dev/null;
|
||||
|
|
10
scripts/Common/Software/gnome-shell-extension-installer /install.sh
Executable file
10
scripts/Common/Software/gnome-shell-extension-installer /install.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
contextRoot="$(mktemp -d)";
|
||||
commandName="gnome-shell-extension-installer";
|
||||
pushd "$contextRoot" > /dev/null;
|
||||
|
||||
wget -O "$commandName" https://github.com/brunelli/gnome-shell-extension-installer/raw/master/gnome-shell-extension-installer;
|
||||
sudo install "$commandName" /usr/local/bin;
|
||||
|
||||
popd > /dev/null;
|
||||
rm -rf "$contextRoot";
|
Loading…
Reference in a new issue