Removing htmly entry from the readme

This commit is contained in:
Bob Mottram 2016-10-28 11:59:24 +01:00
parent d4d549438d
commit b2f2b7d1b8
1 changed files with 4 additions and 4 deletions

View File

@ -334,8 +334,9 @@ function remove_htmly {
function_check remove_onion_service function_check remove_onion_service
remove_onion_service htmly ${HTMLY_ONION_PORT} remove_onion_service htmly ${HTMLY_ONION_PORT}
remove_completion_param "install_htmly" remove_completion_param "install_htmly"
sed -i '/Htmly /d' $COMPLETION_FILE sed -i '/Htmly/d' $COMPLETION_FILE
sed -i '/htmly /d' $COMPLETION_FILE sed -i '/htmly/d' $COMPLETION_FILE
sed -i '/htmly/d' /home/$MY_USERNAME/README
} }
function get_htmly_admin_password { function get_htmly_admin_password {
@ -375,8 +376,7 @@ function install_htmly_user {
fi fi
echo '' >> /home/$MY_USERNAME/README echo '' >> /home/$MY_USERNAME/README
echo '' >> /home/$MY_USERNAME/README echo '' >> /home/$MY_USERNAME/README
echo $'HTMLy Htmly' >> /home/$MY_USERNAME/README echo $'# htmly' >> /home/$MY_USERNAME/README
echo '==========' >> /home/$MY_USERNAME/README
echo $"Your htmly username: $MY_USERNAME" >> /home/$MY_USERNAME/README echo $"Your htmly username: $MY_USERNAME" >> /home/$MY_USERNAME/README
echo $"Your htmly password is: $HTMLY_ADMIN_PASSWORD" >> /home/$MY_USERNAME/README echo $"Your htmly password is: $HTMLY_ADMIN_PASSWORD" >> /home/$MY_USERNAME/README
if [[ $ONION_ONLY == 'no' ]]; then if [[ $ONION_ONLY == 'no' ]]; then