2
0
mirror of https://github.com/pepa65/tldr-bash-client.git synced 2024-09-28 19:01:30 +02:00
This commit is contained in:
85pando 2016-01-06 14:13:39 +01:00
parent 5f3d56adca
commit e1f56a08eb

3
tldr
View File

@ -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
} }