Title: Fix unzip command order in zrep script
Changes: - Reordered unzip command options in zrep script for correct execution.
This commit is contained in:
parent
3830e58ebb
commit
7da1c425f4
2
zrep
2
zrep
@ -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."
|
||||||
|
Loading…
Reference in New Issue
Block a user