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