Update uup_dump_iso_creator.sh

This commit is contained in:
MacRimi 2025-07-02 18:02:42 +02:00
parent d14f0e9295
commit 5b2011cf82

View File

@ -118,6 +118,9 @@ function run_uupdump_creator() {
done done
if [[ ${#MISSING[@]} -gt 0 ]]; then if [[ ${#MISSING[@]} -gt 0 ]]; then
clear
show_proxmenux_logo
echo -e
msg_info "$(translate "Installing dependencies: ${MISSING[*]}")" msg_info "$(translate "Installing dependencies: ${MISSING[*]}")"
apt-get update -qq >/dev/null 2>&1 apt-get update -qq >/dev/null 2>&1
if ! apt-get install -y "${MISSING[@]}" >/dev/null 2>&1; then if ! apt-get install -y "${MISSING[@]}" >/dev/null 2>&1; then
@ -133,12 +136,12 @@ function run_uupdump_creator() {
fi fi
done done
if [[ ${#FAILED[@]} -eq 0 ]]; then #if [[ ${#FAILED[@]} -eq 0 ]]; then
msg_ok "$(translate "All dependencies installed and verified.")" # msg_ok "$(translate "All dependencies installed and verified.")"
else #else
msg_error "$(translate "Missing commands after installation: ${FAILED[*]}")" # msg_error "$(translate "Missing commands after installation: ${FAILED[*]}")"
exit 1 # exit 1
fi #fi
ISO_DIR=$(detect_iso_dir) ISO_DIR=$(detect_iso_dir)