Added #! /bin/bash to install scripts

Co-authored-by: Diego Iván <diegoivan.mae@gmail.com>
This commit is contained in:
PandaSovietico 2021-05-17 12:36:36 -05:00 committed by GitHub
parent 7d89a3aa16
commit cd698bf11a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -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
fi

View File

@ -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
if [ -d "$FOLDERPATH" ]; then rm -Rf $FOLDERPATH; fi