Dokuwiki readme entry
This commit is contained in:
parent
4c90713c64
commit
5346034635
|
@ -192,6 +192,7 @@ function remove_dokuwiki {
|
|||
fi
|
||||
remove_completion_param "install_dokuwiki"
|
||||
remove_completion_param "dokuwiki domain"
|
||||
sed -i '/Dokuwiki/d' /home/$MY_USERNAME/README
|
||||
}
|
||||
|
||||
function get_dokuwiki_admin_password {
|
||||
|
@ -557,16 +558,11 @@ function install_dokuwiki {
|
|||
if ! grep -q $"Dokuwiki password" /home/$MY_USERNAME/README; then
|
||||
echo '' >> /home/$MY_USERNAME/README
|
||||
echo '' >> /home/$MY_USERNAME/README
|
||||
echo $'Dokuwiki' >> /home/$MY_USERNAME/README
|
||||
echo '========' >> /home/$MY_USERNAME/README
|
||||
echo $'# Dokuwiki' >> /home/$MY_USERNAME/README
|
||||
echo $"Dokuwiki onion domain: ${DOKUWIKI_ONION_HOSTNAME}" >> /home/$MY_USERNAME/README
|
||||
echo $"Dokuwiki username: $MY_USERNAME" >> /home/$MY_USERNAME/README
|
||||
echo $"Dokuwiki password: $DOKUWIKI_ADMIN_PASSWORD" >> /home/$MY_USERNAME/README
|
||||
echo '' >> /home/$MY_USERNAME/README
|
||||
echo $'Once you have set up the dokuwiki then remove the install file:' >> /home/$MY_USERNAME/README
|
||||
echo '' >> /home/$MY_USERNAME/README
|
||||
echo " rm /var/www/$DOKUWIKI_DOMAIN_NAME/htdocs/install.php" >> /home/$MY_USERNAME/README
|
||||
echo '' >> /home/$MY_USERNAME/README
|
||||
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/README
|
||||
chmod 600 /home/$MY_USERNAME/README
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue