Open
Description
On Ubuntu 20.04, I try to install the fcitx5-pinyin-zhwiki for rime with the following command via plum:
werner@X10DAi:~/.local/share/fcitx5/rime$ env all_proxy=socks5://127.0.0.1:18888 rime_dir="$HOME/.local/share/fcitx5/rime" rime-install felixonmars/fcitx5-pinyin-zhwiki
When the above command is running, I check the corresponding curl process and find that the invoking method is as following:
$ curl -fRL -o zhwiki.dict.yaml -z zhwiki.dict.yaml
https://github.com/felixonmars/fcitx5-pinyin-zhwiki/releases/download/0.2.1/zhwiki-20201120.dict.yaml
The above options means that a new download will only be triggered if the remote file has been updated and make sure the local file gets the same time stamp as that remote version. If I have partially downloaded the remote file before, this method will never download the remote file again until it has been updated once more. IMO, this isn't always the expected result which we want to see. So I think this should be a misuse/inappropriate combination of curl options for the scenario discussed here.
Regards,
HY
Metadata
Metadata
Assignees
Labels
No labels