Add LOCAL_BACKEND variable and update install_additionals logic
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -12,6 +12,7 @@ ORGANIZATION=${ORGANIZATION:-safebox}
|
||||
|
||||
SMARTHOST_PROXY=$(toUpperCase $SMARTHOST_PROXY)
|
||||
LOCAL_PROXY=$(toUpperCase $LOCAL_PROXY)
|
||||
LOCAL_BACKEND=$(toUpperCase $LOCAL_BACKEND)
|
||||
VPN_PROXY=$(toUpperCase $VPN_PROXY)
|
||||
CRON=$(toUpperCase $CRON)
|
||||
WIREGUARD=$(toUpperCase $WIREGUARD)
|
||||
@@ -100,7 +101,9 @@ install_additionals() {
|
||||
install_core_dns
|
||||
|
||||
if [[ "$SMARTHOST_PROXY" == "YES" || "$SMART_HOST_PROXY" == "TRUE" ]]; then
|
||||
install_local_backend
|
||||
if [[ "$LOCAL_PROXY" == "YES" || "$LOCAL_PROXY" == "TRUE" ]] && [[ "$LOCAL_BACKEND" == "YES" || "$LOCAL_BACKEND" == "TRUE" ]] ; then
|
||||
install_local_backend
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "$LOCAL_PROXY" == "YES" || "$LOCAL_PROXY" == "TRUE" ]]; then
|
||||
|
Reference in New Issue
Block a user