From fd703f18011a413a82e976d030d8d28d4404128a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dias?= Date: Tue, 19 Nov 2024 17:45:00 -0300 Subject: [PATCH] :boom: fix(update_repo): not cleaning wallpapers dir --- update-repo.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/update-repo.sh b/update-repo.sh index 3fdc2b7..7d22aa0 100644 --- a/update-repo.sh +++ b/update-repo.sh @@ -55,6 +55,9 @@ Clean_local() { fi done + Send_log "info" "Cleaning wallpapers..." + rm -rf ./wallpapers + echo "Done cleaning." } @@ -69,7 +72,7 @@ Check_existance() { Update_local() { for dotsDir in ${HYPRLAND_DOTS_DIRS[@]}; do if [[ -d "$HOME/.config/$dotsDir" ]]; then - echo "-> Trying to copy ${dotsDir^}..." + Send_log "info" "Trying to copy ${dotsDir^}..." cp -r $HOME/.config/$dotsDir ./$dotsDir else Send_log "warn" "Looks like the ~/.config/$dotsDir dir is in fault! Skipping it..."