Closed mat-m closed 1 month ago
The problem is that when v1.4.1 was released (September 2020!), the pages repository still used "master" as the main branch name and we thus expect the folder to be called tldr-master
(see here in the code). However, when downloading from https://github.com/tldr-pages/tldr/archive/master.tar.gz , we get a file named tldr-main.zip (and also containing the folder tldr-main, as seen in your output).
As a workaround, you can rename the folder under .cache/tealeer
so that it is called tldr-master
instead. The best solution however would be to update to a newer version - nowadays, the pages come through an archive from tldr.sh that should be more stable than the direct github download.
Since I can't control the version installed, I symlinked tldr-master to tldr-main.
Thank you for the explanation, that helped
on RedHat 8, with tldr 1.4.1
The cache is updated and filled (41M), but the command do not find it.
Technical info below