tv elm-package-proxy: unzip -> p7zip
This commit is contained in:
parent
a054df1437
commit
f654a4ce86
@ -75,7 +75,7 @@ in {
|
|||||||
pkgs.findutils
|
pkgs.findutils
|
||||||
pkgs.gnugrep
|
pkgs.gnugrep
|
||||||
pkgs.jq
|
pkgs.jq
|
||||||
pkgs.unzip
|
pkgs.p7zip
|
||||||
]}
|
]}
|
||||||
export PATH
|
export PATH
|
||||||
file_response() {(
|
file_response() {(
|
||||||
@ -128,7 +128,7 @@ in {
|
|||||||
;;
|
;;
|
||||||
elm.json)
|
elm.json)
|
||||||
if ! test -f "$elmjson"; then
|
if ! test -f "$elmjson"; then
|
||||||
unzip -p "$zipball" \*/elm.json > "$elmjson"
|
7z x -so "$zipball" \*/elm.json > "$elmjson"
|
||||||
fi
|
fi
|
||||||
file_response 200 OK "$elmjson" 'application/json; charset=UTF-8'
|
file_response 200 OK "$elmjson" 'application/json; charset=UTF-8'
|
||||||
exit
|
exit
|
||||||
|
Loading…
Reference in New Issue
Block a user