full system type
This commit is contained in:
parent
c5efd92bd8
commit
862c77a214
|
@ -1146,7 +1146,11 @@ function parse_args {
|
|||
exit 4
|
||||
fi
|
||||
fi
|
||||
if [[ $SYSTEM_TYPE != $VARIANT_WRITER && $SYSTEM_TYPE != $VARIANT_CLOUD && $SYSTEM_TYPE != $VARIANT_CHAT && $SYSTEM_TYPE != $VARIANT_MAILBOX && $SYSTEM_TYPE != $VARIANT_NONMAILBOX && $SYSTEM_TYPE != $VARIANT_SOCIAL && $SYSTEM_TYPE != $VARIANT_MEDIA && $SYSTEM_TYPE != $VARIANT_TOR_DONGLE ]]; then
|
||||
if [ ! $SYSTEM_TYPE ]; then
|
||||
SYSTEM_TYPE=$VARIANT_FULL
|
||||
fi
|
||||
echo "System: $SYSTEM_TYPE"
|
||||
if [[ $SYSTEM_TYPE != $VARIANT_WRITER && $SYSTEM_TYPE != $VARIANT_CLOUD && $SYSTEM_TYPE != $VARIANT_CHAT && $SYSTEM_TYPE != $VARIANT_MAILBOX && $SYSTEM_TYPE != $VARIANT_NONMAILBOX && $SYSTEM_TYPE != $VARIANT_SOCIAL && $SYSTEM_TYPE != $VARIANT_MEDIA && $SYSTEM_TYPE != $VARIANT_TOR_DONGLE && $SYSTEM_TYPE != $VARIANT_FULL ]]; then
|
||||
echo "'$SYSTEM_TYPE' is an unrecognised Freedombone variant."
|
||||
exit 30
|
||||
fi
|
||||
|
@ -6689,7 +6693,7 @@ function install_wiki {
|
|||
return
|
||||
fi
|
||||
# if everything is being installed or if this is exclusively a writer setup
|
||||
if [[ ! $SYSTEM_TYPE || $SYSTEM_TYPE == "$VARIANT_WRITER" ]]; then
|
||||
if [[ $SYSTEM_TYPE == "$VARIANT_FULL" || $SYSTEM_TYPE == "$VARIANT_WRITER" ]]; then
|
||||
WIKI_DOMAIN_NAME=$DOMAIN_NAME
|
||||
WIKI_FREEDNS_SUBDOMAIN_CODE=$FREEDNS_SUBDOMAIN_CODE
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue