additional install

This commit is contained in:
2023-06-14 12:30:13 +00:00
parent a77b88f3f6
commit 14a205d04e
4 changed files with 104 additions and 14 deletions

View File

@@ -37,15 +37,20 @@ sed -i "s/PORT/$PORT/g" /root/.ssh/config;
# Check git repository permissions"
if [[ "$SMARTHOST_PROXY" == "YES" || "$SMARTHOST_PROXY" == "TRUE" ]]; then
PROXY_TYPE=smarthost-proxy" "$PROXY_TYPE;
fi
if [ "$ADDITIONALS" == "true" ]; then
sh /additional_install.sh
else
if [[ "$SMARTHOST_PROXY" == "YES" || "$SMARTHOST_PROXY" == "TRUE" ]]; then
PROXY_TYPE=smarthost-proxy" "$PROXY_TYPE;
fi
if [ "$PROXY_TYPE" == "" ] ; then
echo "No proxy type deployment defined, exiting."
exit;
if [ "$PROXY_TYPE" == "" ] ; then
echo "No proxy type deployment defined, exiting."
exit;
fi
sh /deploy.sh
echo "Successfully deployed $PROXY_TYPE"
fi
sh /deploy.sh
echo "Successfully deployed $PROXY_TYPE"