1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00

fix install log output

This commit is contained in:
Jimmy Monin 2016-09-07 18:00:40 +02:00
parent 9d624bf772
commit c901e35f5a

View file

@ -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 #configure piwigo via curl
echo "127.0.0.1 $domain #yunopiwigo" | sudo tee -a /etc/hosts echo "127.0.0.1 $domain #yunopiwigo" | sudo tee -a /etc/hosts
sleep 2 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 #Change local config
sudo cp ../conf/config.inc.php $final_path/local/config/ sudo cp ../conf/config.inc.php $final_path/local/config/