From 0bdef7305d151123fede938d36993600d16f25df Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 8 Mar 2025 23:16:05 +0900 Subject: [PATCH] changed all the depth 1 to depth=1 --- install-scripts/ags.sh | 2 +- install-scripts/dotfiles-main.sh | 2 +- install-scripts/gtk_themes.sh | 2 +- install-scripts/sddm_theme.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/install-scripts/ags.sh b/install-scripts/ags.sh index 66ed6eb..d16fb4b 100755 --- a/install-scripts/ags.sh +++ b/install-scripts/ags.sh @@ -77,7 +77,7 @@ printf "\n%.0s" {1..1} printf "${INFO} Kindly Standby...cloning and compiling ${SKY_BLUE}Aylur's GTK shell $ags_tag${RESET}...\n" printf "\n%.0s" {1..1} # Clone repository with the specified tag and capture git output into MLOG -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 npm install meson setup build diff --git a/install-scripts/dotfiles-main.sh b/install-scripts/dotfiles-main.sh index e77ecf4..e718f06 100755 --- a/install-scripts/dotfiles-main.sh +++ b/install-scripts/dotfiles-main.sh @@ -27,7 +27,7 @@ if [ -d Hyprland-Dots ]; then chmod +x copy.sh ./copy.sh else - if git clone --depth 1 https://github.com/JaKooLit/Hyprland-Dots; then + if git clone --depth=1 https://github.com/JaKooLit/Hyprland-Dots; then cd Hyprland-Dots || exit 1 chmod +x copy.sh ./copy.sh diff --git a/install-scripts/gtk_themes.sh b/install-scripts/gtk_themes.sh index f4781b4..ecc0d0c 100755 --- a/install-scripts/gtk_themes.sh +++ b/install-scripts/gtk_themes.sh @@ -37,7 +37,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 847f15e..a67c8c5 100755 --- a/install-scripts/sddm_theme.sh +++ b/install-scripts/sddm_theme.sh @@ -38,7 +38,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