fixes
This commit is contained in:
parent
d38f0d343e
commit
1cb2d7e1bb
@ -21,8 +21,7 @@ echo
|
|||||||
read -r -p "${TAB3}Do you want to continue? [y/N]: " CONFIRM
|
read -r -p "${TAB3}Do you want to continue? [y/N]: " CONFIRM
|
||||||
if [[ ! "$CONFIRM" =~ ^([yY][eE][sS]|[yY])$ ]]; then
|
if [[ ! "$CONFIRM" =~ ^([yY][eE][sS]|[yY])$ ]]; then
|
||||||
msg_error "Aborted by user. No changes have been made."
|
msg_error "Aborted by user. No changes have been made."
|
||||||
destroy_lxc
|
exit 10
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
bash <(curl -sL s5n.sh)
|
bash <(curl -sL s5n.sh)
|
||||||
|
|
||||||
|
@ -1428,8 +1428,12 @@ EOF'
|
|||||||
fi
|
fi
|
||||||
msg_ok "Customized LXC Container"
|
msg_ok "Customized LXC Container"
|
||||||
|
|
||||||
if ! lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/install/"$var_install".sh)"; then
|
if ! lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/install/$var_install.sh)"; then
|
||||||
exit $?
|
EXITCODE=$?
|
||||||
|
if [[ $EXITCODE -eq 10 ]]; then
|
||||||
|
destroy_lxc
|
||||||
|
fi
|
||||||
|
exit $EXITCODE
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -544,7 +544,7 @@ function setup_composer() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
chmod +x "$COMPOSER_BIN"
|
chmod +x "$COMPOSER_BIN"
|
||||||
composer diagnose >/dev/null 2>&1
|
$STD composer diagnose
|
||||||
msg_ok "Setup Composer"
|
msg_ok "Setup Composer"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user