Avoid a long line

This commit is contained in:
Bob Mottram 2014-09-23 12:13:11 +01:00
parent 53f8aa5563
commit eb43f9e9ee
1 changed files with 5 additions and 3 deletions

View File

@ -87,15 +87,17 @@ function argument_checks {
echo './install-freedombone.sh [domain] [username] [subdomain code]' echo './install-freedombone.sh [domain] [username] [subdomain code]'
echo '' echo ''
if [ ! $DOMAIN_NAME ]; then if [ ! $DOMAIN_NAME ]; then
echo "Please specify your domain name" echo 'Please specify your domain name'
exit exit
fi fi
if [ ! $MY_USERNAME ]; then if [ ! $MY_USERNAME ]; then
echo "Please specify your username" echo 'Please specify your username'
exit exit
fi fi
if [ ! $FREEDNS_SUBDOMAIN_CODE ]; then if [ ! $FREEDNS_SUBDOMAIN_CODE ]; then
echo "Please specify the freedns subdomain code. To find it from https://freedns.afraid.org select 'Dynamic DNS', then 'quick cron example' and copy the code located between '?' and '=='." echo 'Please specify the freedns subdomain code. To find it from '
echo "https://freedns.afraid.org select 'Dynamic DNS', then 'quick "
echo "cron example' and copy the code located between '?' and '=='."
exit exit
fi fi
} }