about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/lf/lf/commands/default.nix2
-rwxr-xr-xmodules/by-name/lf/lf/commands/scripts/archive_decompress.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/by-name/lf/lf/commands/default.nix b/modules/by-name/lf/lf/commands/default.nix
index 7fea7357..b6baf1df 100644
--- a/modules/by-name/lf/lf/commands/default.nix
+++ b/modules/by-name/lf/lf/commands/default.nix
@@ -61,7 +61,7 @@ in {
     name = "archive_decompress";
     dependencies = [
       pkgs.gnutar
-      pkgs.unzip
+      pkgs.openjdk
       pkgs.p7zip
       pkgs.xz
       pkgs.gzip
diff --git a/modules/by-name/lf/lf/commands/scripts/archive_decompress.sh b/modules/by-name/lf/lf/commands/scripts/archive_decompress.sh
index 6cae62a2..10eb0bc5 100755
--- a/modules/by-name/lf/lf/commands/scripts/archive_decompress.sh
+++ b/modules/by-name/lf/lf/commands/scripts/archive_decompress.sh
@@ -25,7 +25,7 @@ echo "$fx" | while read -r file; do
     *.tar.gz | *.tgz) tar --extract --gzip --verbose --file="$file" ;;
     *.tar.xz | *.txz) tar --extract --xz --verbose --file="$file" ;;
     *.tar*) tar --extract --verbose --file="$file" ;;
-    *.zip) unzip "$file" ;;
+    *.zip) jar --verbose --extract --file "$file" ;;
     *.7z) 7z x "$file" ;;
     *) die "'$file' is not a supported file for unarchiving." ;;
     esac