|
|
@ -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
|
|
|
|
db_user=ffsync
|
|
|
|
|
|
|
|
|
|
|
|
# Initialize database and store mysql password for upgrade
|
|
|
|
# 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
|
|
|
|
sudo yunohost app setting ffsync mysqlpwd -v $db_pwd
|
|
|
|
|
|
|
|
|
|
|
|
# Copy files to the right place
|
|
|
|
# Copy files to the right place
|
|
|
|