forgor something

This commit is contained in:
2024-07-10 00:14:35 +02:00
parent 9f15de7b36
commit 78db0460db
2 changed files with 2 additions and 3 deletions

View File

@ -5,12 +5,12 @@ IYELLOW="\033[0;93m" # Intense Yellow
NO_COLOR="\033[0m" # Text Reset NO_COLOR="\033[0m" # Text Reset
setup_test() { setup_test() {
[[ ! -d ./Artists ]] [[ -d ./Artists ]] || mkdir ./Artists
rm -rf ./gallery-dl/*.sqlite3 ./gallery-dl/log.txt ./Artists/* || exit 1 rm -rf ./gallery-dl/*.sqlite3 ./gallery-dl/log.txt ./Artists/* || exit 1
} }
download() { 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 cp downloaded_$1.txt to_download_$1.txt
while [ 1 ] while [ 1 ]

View File

@ -1 +0,0 @@
https://kemono.su/fantia/user/8565