From 8d907c67315b21772d0e813777c07edd851e7cef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Mon, 9 Feb 2015 12:51:38 +0100 Subject: [PATCH] [fix]Update is freezing, checking why --- scripts/upgrade | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 7837096..9643ce3 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -2,14 +2,16 @@ #backup data folder final_path=/var/www/freshrss # -if [[ -f $final_path/data/dist_user.conf ]]; then - rm $final_path/data/dist_user.conf -fi +#if [[ -f $final_path/data/dist_user.conf ]]; then +# rm $final_path/data/dist_user.conf +#fi #copy update script into freshrss path sudo cp update-ynh.php $final_path/ #execute update sudo php $final_path/update-ynh.php - +#remove update script +sudo rm $final_path/update-ynh.php +#copy user default config sudo cp ../conf/dist_user.conf $final_path/data/ # Set permissions to freshrss directory sudo chown -R www-data: $final_path/data/