From 78db0460db634b7703e35834f13120cae4290325 Mon Sep 17 00:00:00 2001 From: AustrianToast Date: Wed, 10 Jul 2024 00:14:35 +0200 Subject: [PATCH] forgor something --- gallery-dl/gallery-dl.sh | 4 ++-- gallery-dl/to_download_kemono.txt | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 gallery-dl/to_download_kemono.txt diff --git a/gallery-dl/gallery-dl.sh b/gallery-dl/gallery-dl.sh index 546d5d9..f1f15e7 100755 --- a/gallery-dl/gallery-dl.sh +++ b/gallery-dl/gallery-dl.sh @@ -5,12 +5,12 @@ IYELLOW="\033[0;93m" # Intense Yellow NO_COLOR="\033[0m" # Text Reset setup_test() { - [[ ! -d ./Artists ]] + [[ -d ./Artists ]] || mkdir ./Artists rm -rf ./gallery-dl/*.sqlite3 ./gallery-dl/log.txt ./Artists/* || exit 1 } download() { - [[ -f downloaded_$1.txt ]] || echo -e "${IYELLOW}download_$1: no file to download from${NO_COLOR}" || exit 1 + [[ -f downloaded_$1.txt ]] || echo -e "${IYELLOW}download_$1.txt doesn't exist${NO_COLOR}" || exit 1 cp downloaded_$1.txt to_download_$1.txt while [ 1 ] diff --git a/gallery-dl/to_download_kemono.txt b/gallery-dl/to_download_kemono.txt deleted file mode 100644 index 04d974e..0000000 --- a/gallery-dl/to_download_kemono.txt +++ /dev/null @@ -1 +0,0 @@ -https://kemono.su/fantia/user/8565