diff --git a/scripts/install b/scripts/install index 6f09f58..642bed0 100644 --- a/scripts/install +++ b/scripts/install @@ -78,20 +78,20 @@ sudo yunohost app ssowatconf # Configuration of phpBB -echo -e "\n Initial checks"; -curl -kL -X POST \ --H "Host: $domain" \ ---data-urlencode "submit=Proceed%20to%20next%20step" \ -"https://127.0.0.1$path/install/index.php?mode=install" > /dev/null 2>&1 +#echo -e "\n Initial checks"; +#curl -k -X POST \ +#-H "Host: $domain" \ +#--data-urlencode "submit=Proceed%20to%20next%20step" \ +#"https://127.0.0.1$path/install/index.php?mode=install" > /dev/null 2>&1 -echo -e "\n Requirements"; -curl -kL -X POST \ +#echo -e "\n Requirements"; +curl -k -X POST \ -H "Host: $domain" \ --data-urlencode "submit=Start%20install" \ "https://127.0.0.1$path/install/index.php?mode=install&sub=requirements" > /dev/null 2>&1 -echo -e "\n database"; -curl -kL -X POST \ +#echo -e "\n database"; +curl -k -X POST \ -H "Host: $domain" \ --data-urlencode "img_imagick=/usr/bin" \ --data-urlencode "language=en" \ @@ -106,8 +106,8 @@ curl -kL -X POST \ --data-urlencode "submit=Proceed%20to%20next%20step" \ "https://127.0.0.1$path/install/index.php?mode=install&sub=database" > /dev/null 2>&1 -echo -e "\n admin"; -curl -kL -X POST \ +#echo -e "\n admin"; +curl -k -X POST \ -H "Host: $domain" \ --data-urlencode "img_imagick=/usr/bin" \ --data-urlencode "default_lang=$lang" \ @@ -127,8 +127,8 @@ curl -kL -X POST \ --data-urlencode "submit=Proceed%20to%20next%20step" \ "https://127.0.0.1$path/install/index.php?mode=install&sub=administrator" > /dev/null 2>&1 -echo -e "\n config_file"; -curl -kL -X POST \ +#echo -e "\n config_file"; +curl -k -X POST \ -H "Host: $domain" \ --data-urlencode "img_imagick=/usr/bin" \ --data-urlencode "language=en" \ @@ -147,8 +147,8 @@ curl -kL -X POST \ --data-urlencode "submit=Proceed%20to%20next%20step" \ "https://127.0.0.1$path/install/index.php?mode=install&sub=config_file" > /dev/null 2>&1 -echo -e "\n advanced"; -curl -kL -X POST \ +#echo -e "\n advanced"; +curl -k -X POST \ -H "Host: $domain" \ --data-urlencode "email_enable=1" \ --data-urlencode "smtp_delivery=0" \ @@ -179,8 +179,8 @@ curl -kL -X POST \ --data-urlencode "submit=Proceed%20to%20next%20step" \ "https://127.0.0.1$path/install/index.php?mode=install&sub=advanced" > /dev/null 2>&1 -echo -e "\n create database"; -curl -kL -X POST \ +#echo -e "\n create database"; +curl -k -X POST \ -H "Host: $domain" \ --data-urlencode "language=en" \ --data-urlencode "dbms=mysqli" \ @@ -211,7 +211,7 @@ curl -kL -X POST \ --data-urlencode "server_name=$domain" \ --data-urlencode "server_port=443" \ --data-urlencode "script_path=$path" \ ---data-urlencode "submit=Proceed%20to%20the%20next%20step" \ +--data-urlencode "submit=Proceed%20to%20next%20step" \ "https://127.0.0.1$path/install/index.php?mode=install&sub=create_table" > /dev/null 2>&1 # Special adjustements after installation (according to documentation)