diff --git a/scripts/upgrade b/scripts/upgrade index bb7a2a0..b819d12 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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