freedns code for nextcloud
This commit is contained in:
parent
a445707bff
commit
a7f21e2cc1
|
@ -93,11 +93,6 @@ function install_interactive_nextcloud {
|
|||
255) exit 1;;
|
||||
esac
|
||||
NEXTCLOUD_DOMAIN_NAME=$(cat $data | sed -n 1p)
|
||||
title=$(cat $data | sed -n 2p)
|
||||
if [ ${#title} -gt 1 ]; then
|
||||
NEXTCLOUD_TITLE=$welcome_msg
|
||||
fi
|
||||
img_url=$(cat $data | sed -n 3p)
|
||||
if [ ${#img_url} -gt 1 ]; then
|
||||
NEXTCLOUD_BACKGROUND_IMAGE_URL=$img_url
|
||||
fi
|
||||
|
@ -109,7 +104,7 @@ function install_interactive_nextcloud {
|
|||
dialog --title $"Domain name validation" --msgbox "$TEST_DOMAIN_NAME" 15 50
|
||||
else
|
||||
if [[ $DDNS_PROVIDER == "default@freedns.afraid.org" ]]; then
|
||||
NEXTCLOUD_CODE=$(cat $data | sed -n 4p)
|
||||
NEXTCLOUD_CODE=$(cat $data | sed -n 2p)
|
||||
validate_freedns_code "$NEXTCLOUD_CODE"
|
||||
if [ ! $VALID_CODE ]; then
|
||||
NEXTCLOUD_DOMAIN_NAME=
|
||||
|
|
Loading…
Reference in New Issue