diff --git a/scripts/install b/scripts/install index c8b86c2..f6214ff 100644 --- a/scripts/install +++ b/scripts/install @@ -79,7 +79,7 @@ adm_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d 'A-Za-z0-9' #configure piwigo via curl echo "127.0.0.1 $domain #yunopiwigo" | sudo tee -a /etc/hosts sleep 2 -curl -kL -X POST https://$domain$path/install.php?language=fr_FR --data "install=true&dbuser=$db_user&dbpasswd=$db_pwd&dbname=$db_user&admin_name=$user&admin_pass1=$adm_pwd&admin_pass2=$adm_pwd&admin_mail=webmaster@$domain" > /home/yunohost.app/piwigo/piwigo-install.log +curl -kL -X POST https://$domain$path/install.php?language=fr_FR --data "install=true&dbuser=$db_user&dbpasswd=$db_pwd&dbname=$db_user&admin_name=$user&admin_pass1=$adm_pwd&admin_pass2=$adm_pwd&admin_mail=webmaster@$domain" > /tmp/piwigo-install.log #Change local config sudo cp ../conf/config.inc.php $final_path/local/config/