Title: Update unzip command in zrep script
- Changed unzip command to use quiet mode - Ensured overwrite of existing files during extraction - Improved error handling for unzip operation
This commit is contained in:
parent
7da1c425f4
commit
03adceec67
2
zrep
2
zrep
@ -614,7 +614,7 @@ function zrep_install_package() {
|
||||
local zipFile="${tmpDir}/${author}-${script}-${version}.zip"
|
||||
zrep_download_package "${zipFile}" "${dlurl}"
|
||||
|
||||
unzip -aa -o "${zipFile}" -d "${config[main_zrep_install_dir]}"
|
||||
unzip -q -aa -o "${zipFile}" -d "${config[main_zrep_install_dir]}"
|
||||
|
||||
if [[ $? -ne 0 ]]; then
|
||||
zrep_msg debug "\nError: Failed to unzip the package."
|
||||
|
Loading…
Reference in New Issue
Block a user