diff options
author | Ray Lee <ray-github@evq.io> | 2022-01-06 07:39:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 07:39:51 -0800 |
commit | 7efd4cd8efed3776470e9e99adfdb4dcc874dac6 (patch) | |
tree | 10904b6c567e985420db4df8d4afa32489c508e5 | |
parent | c275ac34c355ada1a679430c77a44618279dac46 (diff) | |
parent | 4f851105fd5f339a7857b08061bef07b7034853b (diff) |
Merge pull request #47 from flyxyz123/fly
fix `tldr -u`, use `unzip -o` to "overwrite existing files without prompting"
-rwxr-xr-x | tldr | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -256,7 +256,7 @@ update_tldr_cache() { if cache; then mkdir -p "$(page_cache)" Get "$(upstream_pages)" > "$(cache_dir)/tldr.zip" - silent unzip -d "$(page_cache)" -u "$(cache_dir)/tldr.zip" + silent unzip -o -d "$(page_cache)" -u "$(cache_dir)/tldr.zip" fi } |