1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ttrss_ynh.git synced 2024-10-01 13:34:46 +02:00

Update upgrade

This commit is contained in:
titoko 2013-12-11 19:50:13 +01:00
parent 3f93aec4e1
commit b7bab038e4

View file

@ -5,14 +5,14 @@ path=$(sudo yunohost app setting ttrss path)
db_user=ttrss
db_pwd=$(sudo yunohost app setting ttrss mysqlpwd)
db_file=../sources/SQL/mysql/$(ls -vr ../sources/schema/versions/mysql | head -1)
db_file=../source/SQL/mysql/$(ls -vr ../sources/schema/versions/mysql | head -1)
mysql -u $db_user -p$db_pwd $db_user < $db_file
final_path=/var/www/ttrss
sudo mkdir -p $final_path
sudo cp -a ../sources/* $final_path
sudo cp -a ../source/* $final_path
sudo cp ../conf/config.php $final_path/
# Change variables in ttrss configuration