mirror of
https://github.com/YunoHost-Apps/phpbb_ynh.git
synced 2024-09-03 19:56:36 +02:00
change curl -kL by curl -k according to https://github.com/matlink/mumble_admin_plugin_ynh/blob/master/scripts/install
This commit is contained in:
parent
558e8073ed
commit
31c93be294
1 changed files with 18 additions and 18 deletions
|
@ -78,20 +78,20 @@ sudo yunohost app ssowatconf
|
||||||
|
|
||||||
|
|
||||||
# Configuration of phpBB
|
# Configuration of phpBB
|
||||||
echo -e "\n Initial checks";
|
#echo -e "\n Initial checks";
|
||||||
curl -kL -X POST \
|
#curl -k -X POST \
|
||||||
-H "Host: $domain" \
|
#-H "Host: $domain" \
|
||||||
--data-urlencode "submit=Proceed%20to%20next%20step" \
|
#--data-urlencode "submit=Proceed%20to%20next%20step" \
|
||||||
"https://127.0.0.1$path/install/index.php?mode=install" > /dev/null 2>&1
|
#"https://127.0.0.1$path/install/index.php?mode=install" > /dev/null 2>&1
|
||||||
|
|
||||||
echo -e "\n Requirements";
|
#echo -e "\n Requirements";
|
||||||
curl -kL -X POST \
|
curl -k -X POST \
|
||||||
-H "Host: $domain" \
|
-H "Host: $domain" \
|
||||||
--data-urlencode "submit=Start%20install" \
|
--data-urlencode "submit=Start%20install" \
|
||||||
"https://127.0.0.1$path/install/index.php?mode=install&sub=requirements" > /dev/null 2>&1
|
"https://127.0.0.1$path/install/index.php?mode=install&sub=requirements" > /dev/null 2>&1
|
||||||
|
|
||||||
echo -e "\n database";
|
#echo -e "\n database";
|
||||||
curl -kL -X POST \
|
curl -k -X POST \
|
||||||
-H "Host: $domain" \
|
-H "Host: $domain" \
|
||||||
--data-urlencode "img_imagick=/usr/bin" \
|
--data-urlencode "img_imagick=/usr/bin" \
|
||||||
--data-urlencode "language=en" \
|
--data-urlencode "language=en" \
|
||||||
|
@ -106,8 +106,8 @@ curl -kL -X POST \
|
||||||
--data-urlencode "submit=Proceed%20to%20next%20step" \
|
--data-urlencode "submit=Proceed%20to%20next%20step" \
|
||||||
"https://127.0.0.1$path/install/index.php?mode=install&sub=database" > /dev/null 2>&1
|
"https://127.0.0.1$path/install/index.php?mode=install&sub=database" > /dev/null 2>&1
|
||||||
|
|
||||||
echo -e "\n admin";
|
#echo -e "\n admin";
|
||||||
curl -kL -X POST \
|
curl -k -X POST \
|
||||||
-H "Host: $domain" \
|
-H "Host: $domain" \
|
||||||
--data-urlencode "img_imagick=/usr/bin" \
|
--data-urlencode "img_imagick=/usr/bin" \
|
||||||
--data-urlencode "default_lang=$lang" \
|
--data-urlencode "default_lang=$lang" \
|
||||||
|
@ -127,8 +127,8 @@ curl -kL -X POST \
|
||||||
--data-urlencode "submit=Proceed%20to%20next%20step" \
|
--data-urlencode "submit=Proceed%20to%20next%20step" \
|
||||||
"https://127.0.0.1$path/install/index.php?mode=install&sub=administrator" > /dev/null 2>&1
|
"https://127.0.0.1$path/install/index.php?mode=install&sub=administrator" > /dev/null 2>&1
|
||||||
|
|
||||||
echo -e "\n config_file";
|
#echo -e "\n config_file";
|
||||||
curl -kL -X POST \
|
curl -k -X POST \
|
||||||
-H "Host: $domain" \
|
-H "Host: $domain" \
|
||||||
--data-urlencode "img_imagick=/usr/bin" \
|
--data-urlencode "img_imagick=/usr/bin" \
|
||||||
--data-urlencode "language=en" \
|
--data-urlencode "language=en" \
|
||||||
|
@ -147,8 +147,8 @@ curl -kL -X POST \
|
||||||
--data-urlencode "submit=Proceed%20to%20next%20step" \
|
--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
|
"https://127.0.0.1$path/install/index.php?mode=install&sub=config_file" > /dev/null 2>&1
|
||||||
|
|
||||||
echo -e "\n advanced";
|
#echo -e "\n advanced";
|
||||||
curl -kL -X POST \
|
curl -k -X POST \
|
||||||
-H "Host: $domain" \
|
-H "Host: $domain" \
|
||||||
--data-urlencode "email_enable=1" \
|
--data-urlencode "email_enable=1" \
|
||||||
--data-urlencode "smtp_delivery=0" \
|
--data-urlencode "smtp_delivery=0" \
|
||||||
|
@ -179,8 +179,8 @@ curl -kL -X POST \
|
||||||
--data-urlencode "submit=Proceed%20to%20next%20step" \
|
--data-urlencode "submit=Proceed%20to%20next%20step" \
|
||||||
"https://127.0.0.1$path/install/index.php?mode=install&sub=advanced" > /dev/null 2>&1
|
"https://127.0.0.1$path/install/index.php?mode=install&sub=advanced" > /dev/null 2>&1
|
||||||
|
|
||||||
echo -e "\n create database";
|
#echo -e "\n create database";
|
||||||
curl -kL -X POST \
|
curl -k -X POST \
|
||||||
-H "Host: $domain" \
|
-H "Host: $domain" \
|
||||||
--data-urlencode "language=en" \
|
--data-urlencode "language=en" \
|
||||||
--data-urlencode "dbms=mysqli" \
|
--data-urlencode "dbms=mysqli" \
|
||||||
|
@ -211,7 +211,7 @@ curl -kL -X POST \
|
||||||
--data-urlencode "server_name=$domain" \
|
--data-urlencode "server_name=$domain" \
|
||||||
--data-urlencode "server_port=443" \
|
--data-urlencode "server_port=443" \
|
||||||
--data-urlencode "script_path=$path" \
|
--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
|
"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)
|
# Special adjustements after installation (according to documentation)
|
||||||
|
|
Loading…
Reference in a new issue