diff options
author | tv <tv@krebsco.de> | 2020-11-27 11:27:42 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2020-11-27 11:43:28 +0100 |
commit | 45beee511891763544ac18aeeb0691aab342b6b8 (patch) | |
tree | bd5b7dc8d07276112075d324206b20b9ae17837f | |
parent | 94a5e585427c1d5304ca6b507b0e8849d645ef10 (diff) |
tv elm-package-proxy: unzip -> p7zip
-rw-r--r-- | tv/2configs/elm-packages-proxy.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tv/2configs/elm-packages-proxy.nix b/tv/2configs/elm-packages-proxy.nix index 5c2900e..4a0491b 100644 --- a/tv/2configs/elm-packages-proxy.nix +++ b/tv/2configs/elm-packages-proxy.nix @@ -75,7 +75,7 @@ in { pkgs.findutils pkgs.gnugrep pkgs.jq - pkgs.unzip + pkgs.p7zip ]} export PATH file_response() {( @@ -128,7 +128,7 @@ in { ;; elm.json) if ! test -f "$elmjson"; then - unzip -p "$zipball" \*/elm.json > "$elmjson" + 7z x -so "$zipball" \*/elm.json > "$elmjson" fi file_response 200 OK "$elmjson" 'application/json; charset=UTF-8' exit |