Update v2 script

This commit is contained in:
Kload 2013-06-13 10:41:13 +02:00
parent ac1cc95e82
commit 61b24207fe

View file

@ -68,9 +68,8 @@ echo "======== Checking domain ========"
DOMAIN=$(hostname -d) DOMAIN=$(hostname -d)
if [[ "${DOMAIN:-1}" = 1 ]] if [[ "${DOMAIN:-1}" = 1 ]]
then then
echo "======== Installation failed ========" hostname yunohost.yunohost.org
echo "Configure your domain name please" DOMAIN='yunohost.org'
exit $ERR_IMPOSSIBLE
fi fi
whiptail --title "Yunohost Installation" --yesno "Caution : your config files for postfix,dovecot,mysql,apache,prosody,radicale will be overwritten\nDo you want to proceed install of Yunohost?" 8 78 whiptail --title "Yunohost Installation" --yesno "Caution : your config files for postfix,dovecot,mysql,apache,prosody,radicale will be overwritten\nDo you want to proceed install of Yunohost?" 8 78
@ -143,7 +142,7 @@ then
service apache2 restart service apache2 restart
service dovecot restart service dovecot restart
service postfix restart service postfix restart
service prosody restart service metronome restart
service iptables start service iptables start
service nscd restart service nscd restart
service nslcd restart service nslcd restart