1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ffsync_ynh.git synced 2024-09-03 18:26:38 +02:00

Update install

This commit is contained in:
abeudin 2013-12-12 12:30:20 +01:00
parent 26d86ba4ad
commit 2190ad5486

View file

@ -17,7 +17,7 @@ db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]'
db_user=ffsync
# Initialize database and store mysql password for upgrade
sudo yunohost app initdb $db_user -p $db_pwd
sudo yunohost app initdb $db_user -p $db_pwd -s $(readlink -e ../conf/ffsync.sql)
sudo yunohost app setting ffsync mysqlpwd -v $db_pwd
# Copy files to the right place