Fix #2
This commit is contained in:
parent
5f3d56adca
commit
e1f56a08eb
3
tldr
3
tldr
|
@ -23,6 +23,9 @@ config() {
|
||||||
cache_days=14
|
cache_days=14
|
||||||
force_update=''
|
force_update=''
|
||||||
|
|
||||||
|
#check if config folder exists, otherwise create it
|
||||||
|
[ -d "$configdir" ] || mkdir -p "$configdir"
|
||||||
|
|
||||||
[ ! -f $index ] && update_index
|
[ ! -f $index ] && update_index
|
||||||
auto_update_index
|
auto_update_index
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue