min update

This commit is contained in:
Adrien Marquès 2018-06-09 15:17:44 +02:00
parent 599933a5ca
commit 519ff5dd1a
1 changed files with 7 additions and 0 deletions

View File

@ -25,6 +25,8 @@ install_nginx(){
exit 1;
fi;
# copy in /etc/hosts
echo -e "127.0.0.1\t$server_name" | sudo tee -a /etc/hosts >/dev/null;
# (3) Copy config #
echo "1- build configuration"
@ -54,6 +56,8 @@ install_nginx(){
}
install_httpd(){
echo -e "\e[33m>\e[0m httpd installer \e[33m<\e[0m\n"
echo "no installer for now...\n"
exit 1
}
install_apache(){
echo -e "\e[33m>\e[0m apache installer \e[33m<\e[0m\n"
@ -79,6 +83,8 @@ install_apache(){
exit 1;
fi;
# copy in /etc/hosts
echo -e "127.0.0.1\t$server_name" | sudo tee -a /etc/hosts >/dev/null;
# (3) Copy config #
echo "1- build configuration"
@ -185,3 +191,4 @@ else
fi;
exit 0