Add checking if "temp" folder exists

if not then it creates a temp folder! (prevents watch.shs from broken* (*read as: blank page and temporary files saved in wrong place)
18l-fix
sech1p 2021-03-14 16:07:06 +01:00
parent 9219c23481
commit 102fdd69f4
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
#!/bin/bash
if [[ ! -d "temp" ]]; then
mkdir "temp"
fi
declare -A strings
if [[ ! $(which haruhi-dl) ]]; then