-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade_only glitches #65
Comments
I guess it's because the "outer" (archive file's) timestamp obviously is newer than the "inner" (binary's) timestamp within the archive. Maybe that could be worked around by setting the binary's timestamp to the archive's one? |
Seems
|
Given this config: [global]
target = "~/bin"
upgrade_only = true when I run this command: $ eget BurntSushi/ripgrep eget always downloads & updates ripgrep, every time: $ eget BurntSushi/ripgrep
https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep-13.0.0-x86_64-unknown-linux-musl.tar.gz
Downloading 100% [==============================================================================================================================================================] (2.0/2.0 MB, 17.526 MB/s)
Extracted `ripgrep-13.0.0-x86_64-unknown-linux-musl/rg` to `/home/duncan/bin/rg`
$ eget BurntSushi/ripgrep
https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep-13.0.0-x86_64-unknown-linux-musl.tar.gz
Downloading 100% [==============================================================================================================================================================] (2.0/2.0 MB, 17.526 MB/s)
Extracted `ripgrep-13.0.0-x86_64-unknown-linux-musl/rg` to `/home/duncan/bin/rg` but for lots of other things, updating only updates when needed - for example starship works fine: $ eget starship/starship --asset ^musl
https://github.com/starship/starship/releases/download/v1.14.2/starship-x86_64-unknown-linux-gnu.tar.gz
Downloading 100% [===============================================================================================================================================================] (3.4/3.4 MB, 7.994 MB/s)
Checksum verified with starship-x86_64-unknown-linux-gnu.tar.gz.sha256
Extracted `starship` to `/home/duncan/bin/starship`
$ eget starship/starship --asset ^musl
requested release is not more recent than current version This is my #!/usr/bin/env bash
cd ~/bin || exit
echo -e "\nUpdating eget..."
eget zyedidia/eget
echo -e "\nUpdating micro..."
eget zyedidia/micro --asset static
echo -e "\nUpdating pandoc..."
eget jgm/pandoc
echo -e "\nUpdating fzf..."
eget junegunn/fzf
echo -e "\nUpdating exa..."
eget ogham/exa --asset ^musl
echo -e "\nUpdating starship..."
eget starship/starship --asset ^musl
echo -e "\nUpdating rg..."
eget BurntSushi/ripgrep
echo -e "\nUpdating bat..."
eget sharkdp/bat --asset ^musl
echo -e "\nUpdating btop..."
eget aristocratos/btop
echo -e "\nUpdating duf..."
eget muesli/duf --asset x86_64.tar.gz
echo -e "\nUpdating caddy..."
eget caddyserver/caddy --asset amd64.tar.gz --asset ^.sig
echo -e "\nUpdating vale..."
eget errata-ai/vale --asset 64-bit.tar
echo -e "\nUpdating lapce..."
eget lapce/lapce --asset Lapce-linux.tar.gz
echo -e "\nUpdating pdftilecut..."
eget oxplot/pdftilecut
echo -e "\nUpdating tealdeer..."
eget dbrgn/tealdeer
echo -e "\nUpdating cascadia-code font..."
eget microsoft/cascadia-code --file=ttf/*.ttf --all --to ~/.fonts
echo -e "\nUpdating rclone..."
sudo /home/duncan/bin/eget rclone/rclone --asset amd64.zip --to /usr/bin Afaik, |
The following config file
used with the command
eget -D
will re-downloadfrpc
andfrps
every time.Same is, when
all = true
is replaced withfile = "frpc"
. (OK, not exactly the same, as onlyfrpc
is downloaded).The text was updated successfully, but these errors were encountered: