changed all the depth 1 to depth=1

This commit is contained in:
JaKooLit
2025-03-08 23:16:05 +09:00
parent f3d0b3ddfb
commit 0bdef7305d
4 changed files with 4 additions and 4 deletions

View File

@@ -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 "${INFO} Kindly Standby...cloning and compiling ${SKY_BLUE}Aylur's GTK shell $ags_tag${RESET}...\n"
printf "\n%.0s" {1..1} printf "\n%.0s" {1..1}
# Clone repository with the specified tag and capture git output into MLOG # 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 cd ags || exit 1
npm install npm install
meson setup build meson setup build

View File

@@ -27,7 +27,7 @@ if [ -d Hyprland-Dots ]; then
chmod +x copy.sh chmod +x copy.sh
./copy.sh ./copy.sh
else 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 cd Hyprland-Dots || exit 1
chmod +x copy.sh chmod +x copy.sh
./copy.sh ./copy.sh

View File

@@ -37,7 +37,7 @@ if [ -d "GTK-themes-icons" ]; then
fi fi
echo "$NOTE Cloning ${SKY_BLUE}GTK themes and Icons${RESET} repository..." 2>&1 | tee -a "$LOG" 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 cd GTK-themes-icons
chmod +x auto-extract.sh chmod +x auto-extract.sh
./auto-extract.sh ./auto-extract.sh

View File

@@ -38,7 +38,7 @@ if [ -d "$theme_name" ]; then
fi fi
# Clone the repository # 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 if [ ! -d "$theme_name" ]; then
echo "${ERROR} Failed to clone the repository." | tee -a "$LOG" echo "${ERROR} Failed to clone the repository." | tee -a "$LOG"
fi fi