Title: Fix unzip command order in zrep script

Changes:
- Reordered unzip command options in zrep script for correct execution.
This commit is contained in:
Stig-Ørjan Smelror 2024-03-15 23:21:29 +01:00
parent 3830e58ebb
commit 7da1c425f4

2
zrep
View File

@ -614,7 +614,7 @@ function zrep_install_package() {
local zipFile="${tmpDir}/${author}-${script}-${version}.zip" local zipFile="${tmpDir}/${author}-${script}-${version}.zip"
zrep_download_package "${zipFile}" "${dlurl}" zrep_download_package "${zipFile}" "${dlurl}"
unzip -aa "${zipFile}" -o -d "${config[main_zrep_install_dir]}" unzip -aa -o "${zipFile}" -d "${config[main_zrep_install_dir]}"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
zrep_msg debug "\nError: Failed to unzip the package." zrep_msg debug "\nError: Failed to unzip the package."