From 3830e58ebbb2b244155630b3829c18fede67bc69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Fri, 15 Mar 2024 23:19:05 +0100 Subject: [PATCH] Update unzip command in zrep script to use `-aa` flag for better compatibility. - Use `-aa` flag in unzip command for better compatibility with various zip formats. --- zrep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zrep b/zrep index 354060d..5febc07 100755 --- a/zrep +++ b/zrep @@ -614,7 +614,7 @@ function zrep_install_package() { local zipFile="${tmpDir}/${author}-${script}-${version}.zip" zrep_download_package "${zipFile}" "${dlurl}" - unzip -o "${zipFile}" -d "${config[main_zrep_install_dir]}" + unzip -aa "${zipFile}" -o -d "${config[main_zrep_install_dir]}" if [[ $? -ne 0 ]]; then zrep_msg debug "\nError: Failed to unzip the package."