Removing hubzilla from the readme file

This commit is contained in:
Bob Mottram 2016-10-28 12:01:15 +01:00
parent b2f2b7d1b8
commit ef2df70462
1 changed files with 3 additions and 2 deletions

View File

@ -172,8 +172,7 @@ function hubzilla_create_database {
fi fi
echo '' >> /home/$MY_USERNAME/README echo '' >> /home/$MY_USERNAME/README
echo '' >> /home/$MY_USERNAME/README echo '' >> /home/$MY_USERNAME/README
echo 'Hubzilla' >> /home/$MY_USERNAME/README echo '# Hubzilla' >> /home/$MY_USERNAME/README
echo '========' >> /home/$MY_USERNAME/README
if [[ $ONION_ONLY == 'no' ]]; then if [[ $ONION_ONLY == 'no' ]]; then
echo $"Open https://$HUBZILLA_DOMAIN_NAME and register a new user" >> /home/$MY_USERNAME/README echo $"Open https://$HUBZILLA_DOMAIN_NAME and register a new user" >> /home/$MY_USERNAME/README
else else
@ -291,6 +290,8 @@ function remove_hubzilla {
function_check remove_onion_service function_check remove_onion_service
remove_onion_service hubzilla ${HUBZILLA_ONION_PORT} remove_onion_service hubzilla ${HUBZILLA_ONION_PORT}
sed -i '/hubzilla/d' $COMPLETION_FILE sed -i '/hubzilla/d' $COMPLETION_FILE
sed -i '/hubzilla/d' /home/$MY_USERNAME/README
sed -i '/Hubzilla/d' /home/$MY_USERNAME/README
} }
function install_hubzilla { function install_hubzilla {