mirror of
https://github.com/pepa65/tldr-bash-client.git
synced 2024-09-28 19:01:30 +02:00
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
Block a user