Missing completion file
This commit is contained in:
parent
06751dac0f
commit
a86bf87837
|
@ -180,9 +180,7 @@ function add_cert_letsencrypt {
|
||||||
# obtain the email address for the admin user
|
# obtain the email address for the admin user
|
||||||
if [ ! $MY_EMAIL_ADDRESS ]; then
|
if [ ! $MY_EMAIL_ADDRESS ]; then
|
||||||
if [ -f $CONFIGURATION_FILE ]; then
|
if [ -f $CONFIGURATION_FILE ]; then
|
||||||
if grep -q "MY_EMAIL_ADDRESS=" $CONFIGURATION_FILE; then
|
read_config_param MY_EMAIL_ADDRESS
|
||||||
MY_EMAIL_ADDRESS=$(cat $CONFIGURATION_FILE | grep "MY_EMAIL_ADDRESS=" | awk -F '=' '{print $2}')
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ ! $MY_EMAIL_ADDRESS ]; then
|
if [ ! $MY_EMAIL_ADDRESS ]; then
|
||||||
|
|
|
@ -30,6 +30,9 @@
|
||||||
|
|
||||||
USERNAME=$1
|
USERNAME=$1
|
||||||
|
|
||||||
|
PROJECT_NAME='freedombone'
|
||||||
|
COMPLETION_FILE=$HOME/${PROJECT_NAME}-completed.txt
|
||||||
|
|
||||||
ADMIN_USER=$(cat $COMPLETION_FILE | grep "Admin user" | awk -F ':' '{print $2}')
|
ADMIN_USER=$(cat $COMPLETION_FILE | grep "Admin user" | awk -F ':' '{print $2}')
|
||||||
|
|
||||||
if [ ! $USERNAME ]; then
|
if [ ! $USERNAME ]; then
|
||||||
|
|
Loading…
Reference in New Issue