additional install
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user