diff --git a/install-scripts/ags.sh b/install-scripts/ags.sh index 33dab85..9227098 100755 --- a/install-scripts/ags.sh +++ b/install-scripts/ags.sh @@ -84,7 +84,7 @@ if [ -d "ags" ]; then fi # Clone nwg-look repository with the specified tag -if git clone --recursive -b "$ags_tag" --depth 1 https://github.com/Aylur/ags.git; then +if git clone --recursive -b "$ags_tag" --depth=1 https://github.com/Aylur/ags.git; then cd ags || exit 1 # Build and install ags npm install diff --git a/install-scripts/dotfiles-branch.sh b/install-scripts/dotfiles-branch.sh index 743beaa..542fb48 100644 --- a/install-scripts/dotfiles-branch.sh +++ b/install-scripts/dotfiles-branch.sh @@ -30,7 +30,7 @@ if [ -d Hyprland-Dots-Debian ]; then chmod +x copy.sh ./copy.sh else - if git clone --depth 1 -b $dots_tag https://github.com/JaKooLit/Hyprland-Dots Hyprland-Dots-Debian; then + if git clone --depth=1 -b $dots_tag https://github.com/JaKooLit/Hyprland-Dots Hyprland-Dots-Debian; then cd Hyprland-Dots-Debian || exit 1 chmod +x copy.sh ./copy.sh diff --git a/install-scripts/gtk_themes.sh b/install-scripts/gtk_themes.sh index fd3889d..5b7e1a7 100755 --- a/install-scripts/gtk_themes.sh +++ b/install-scripts/gtk_themes.sh @@ -36,7 +36,7 @@ if [ -d "GTK-themes-icons" ]; then fi echo "$NOTE Cloning ${SKY_BLUE}GTK themes and Icons${RESET} repository..." 2>&1 | tee -a "$LOG" -if git clone --depth 1 https://github.com/JaKooLit/GTK-themes-icons.git ; then +if git clone --depth=1 https://github.com/JaKooLit/GTK-themes-icons.git ; then cd GTK-themes-icons chmod +x auto-extract.sh ./auto-extract.sh diff --git a/install-scripts/sddm_theme.sh b/install-scripts/sddm_theme.sh index 3e793d6..c063515 100755 --- a/install-scripts/sddm_theme.sh +++ b/install-scripts/sddm_theme.sh @@ -37,7 +37,7 @@ if [ -d "$theme_name" ]; then fi # Clone the repository -if git clone --depth 1 "$source_theme" "$theme_name"; then +if git clone --depth=1 "$source_theme" "$theme_name"; then if [ ! -d "$theme_name" ]; then echo "${ERROR} Failed to clone the repository." | tee -a "$LOG" fi diff --git a/install-scripts/zsh_pokemon.sh b/install-scripts/zsh_pokemon.sh index 9aff084..35c0863 100755 --- a/install-scripts/zsh_pokemon.sh +++ b/install-scripts/zsh_pokemon.sh @@ -24,7 +24,7 @@ printf "${INFO} Installing ${SKY_BLUE}Pokemon color scripts${RESET} ..." if [ -d "pokemon-colorscripts" ]; then cd pokemon-colorscripts && git pull && sudo ./install.sh && cd .. else - git clone --depth 1 https://gitlab.com/phoneybadger/pokemon-colorscripts.git && + git clone --depth=1 https://gitlab.com/phoneybadger/pokemon-colorscripts.git && cd pokemon-colorscripts && sudo ./install.sh && cd .. fi