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.
This commit is contained in:
Stig-Ørjan Smelror 2024-03-15 23:19:05 +01:00
parent 4337b13a28
commit 3830e58ebb

2
zrep
View File

@ -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."