dep

Package manager for embedded C libraries
git clone git://git.finwo.net/app/dep
Log | Files | Refs | README | LICENSE

commit 696226dae703bf79fcae08da614914610b169748
parent f8227f1b77c60ad6ef964513eaf114dd984a21b9
Author: finwo <finwo@pm.me>
Date:   Sun,  3 Mar 2024 00:27:56 +0100

Only support gzipped tarballs I guess

Diffstat:
Mdist/dep | 2+-
Msrc/command/repo/index.sh | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dist/dep b/dist/dep @@ -521,7 +521,7 @@ function cmd_repository { # Download and extract them while read source; do curl --location --progress-bar "${source}" | \ - tar --extract --directory "${HOME}/.config/finwo/dep/packages" --strip-components 1 + tar --gunzip --extract --directory "${HOME}/.config/finwo/dep/packages" --strip-components 1 done < <(ini_foreach ini_output_value "${HOME}/.config/finwo/dep/repositories.tmp" "repository.") # Aannddd.. we're done with the tmp file diff --git a/src/command/repo/index.sh b/src/command/repo/index.sh @@ -83,7 +83,7 @@ function cmd_repository { # Download and extract them while read source; do curl --location --progress-bar "${source}" | \ - tar --extract --directory "${HOME}/.config/finwo/__NAME/packages" --strip-components 1 + tar --gunzip --extract --directory "${HOME}/.config/finwo/__NAME/packages" --strip-components 1 done < <(ini_foreach ini_output_value "${HOME}/.config/finwo/__NAME/repositories.tmp" "repository.") # Aannddd.. we're done with the tmp file