From 240525f5343c3983e738491cc5ead6a910ceb9c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dias?= Date: Tue, 19 Nov 2024 17:48:22 -0300 Subject: [PATCH] :boom: fix(update_repo): not creating wallpapers dir --- update-repo.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/update-repo.sh b/update-repo.sh index 7d22aa0..14f3c0c 100644 --- a/update-repo.sh +++ b/update-repo.sh @@ -79,9 +79,12 @@ Update_local() { fi done - if [[ -d "$WALLPAPERS_DIR" ]]; then + if [[ -d $WALLPAPERS_DIR ]]; then Send_log "info" "Copying wallpapers" + mkdir -p ./wallpapers cp -rf $WALLPAPERS_DIR/* ./wallpapers + else + Send_log "warn" "Wallpapers dir could not be found in $HOME, skipping..." fi printf "\nDone updating local repo!\n"