Avoid multiple hubzilla updates to the readme
This commit is contained in:
parent
147fed04c2
commit
dba18eb7e6
|
@ -186,6 +186,7 @@ function hubzilla_create_database {
|
|||
else
|
||||
HUBZILLA_ADMIN_PASSWORD="$(create_password ${MINIMUM_PASSWORD_LENGTH})"
|
||||
fi
|
||||
if ! grep "# Hubzilla" /home/$MY_USERNAME/README; then
|
||||
echo '' >> /home/$MY_USERNAME/README
|
||||
echo '' >> /home/$MY_USERNAME/README
|
||||
echo '# Hubzilla' >> /home/$MY_USERNAME/README
|
||||
|
@ -195,6 +196,7 @@ function hubzilla_create_database {
|
|||
echo $"Open http://$HUBZILLA_ONION_HOSTNAME and register a new user" >> /home/$MY_USERNAME/README
|
||||
fi
|
||||
echo $"Your MariaDB Hubzilla admin password is: $HUBZILLA_ADMIN_PASSWORD" >> /home/$MY_USERNAME/README
|
||||
fi
|
||||
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/README
|
||||
chmod 600 /home/$MY_USERNAME/README
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue