diff --git a/scripts/auto-install.sh b/scripts/auto-install.sh index bf97395..b11d778 100755 --- a/scripts/auto-install.sh +++ b/scripts/auto-install.sh @@ -1,3 +1,5 @@ +#! /bin/bash + sysThemeNames=("'Pop'" "'Pop-dark'" "'Pop-light'" "'Yaru'" "'Yaru-dark'" "'Yaru-light'" "'Adwaita-maia'" "'Adwaita-maia-dark'") themeNames=("pop" "pop" "pop" "yaru" "yaru" "yaru" "maia" "maia") @@ -34,4 +36,4 @@ done if [ $foldersFoundCount = 0 ];then echo No firefox folder found ; - fi \ No newline at end of file + fi diff --git a/scripts/install-by-curl.sh b/scripts/install-by-curl.sh index 4a0a7b8..4db17de 100755 --- a/scripts/install-by-curl.sh +++ b/scripts/install-by-curl.sh @@ -1,3 +1,5 @@ +#! /bin/bash + VERSION=$(curl -s "https://github.com/rafaelmardojai/firefox-gnome-theme/releases/latest/download" 2>&1 | sed "s/^.*download\/\([^\"]*\).*/\1/") FILENAME=firefox-gnome-theme-$VERSION.tar.gz FOLDERPATH=$PWD/firefox-gnome-theme @@ -17,4 +19,4 @@ chmod +x scripts/auto-install.sh ./auto-install.sh -if [ -d "$FOLDERPATH" ]; then rm -Rf $FOLDERPATH; fi \ No newline at end of file +if [ -d "$FOLDERPATH" ]; then rm -Rf $FOLDERPATH; fi