mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
[fix] Allow insecure curl
This commit is contained in:
parent
58f371347f
commit
d8d28bb1df
1 changed files with 2 additions and 2 deletions
|
@ -119,7 +119,7 @@ if [[ $(dpkg --compare-versions $old_flarum_version lt $flarum_version && echo t
|
|||
exec_composer $app $final_path "require -n flarum/core:$flarum_version"
|
||||
# Database password has to be input on admin page after upgrade to 0.1.0-beta.7.2
|
||||
if [[ $flarum_version == "0.1.0-beta.7.2" ]]; then
|
||||
curl "https://$domain$path_url/admin" -H "Accept: */*" --compressed -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" --data "databasePassword=$db_pwd"
|
||||
curl "https://$domain$path_url/admin" -H "Accept: */*" --compressed -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" --data "databasePassword=$db_pwd" -k
|
||||
fi
|
||||
pushd $final_path
|
||||
exec_as $app php flarum cache:clear
|
||||
|
|
Loading…
Add table
Reference in a new issue