mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 17:25:53 +00:00
fixes
This commit is contained in:
@@ -1428,8 +1428,12 @@ EOF'
|
||||
fi
|
||||
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
|
||||
exit $?
|
||||
if ! lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/install/$var_install.sh)"; then
|
||||
EXITCODE=$?
|
||||
if [[ $EXITCODE -eq 10 ]]; then
|
||||
destroy_lxc
|
||||
fi
|
||||
exit $EXITCODE
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -544,7 +544,7 @@ function setup_composer() {
|
||||
fi
|
||||
|
||||
chmod +x "$COMPOSER_BIN"
|
||||
composer diagnose >/dev/null 2>&1
|
||||
$STD composer diagnose
|
||||
msg_ok "Setup Composer"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user