diff --git a/scripts/upgrade b/scripts/upgrade index 848cb3b..725e508 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -15,8 +15,8 @@ mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user@localh sudo yunohost app initdb $db_user -p $db_pwd # Copy files to the right place -final_path=/var/www/$app/rainloop/v/ -sudo rm -rf $final_path/* +final_path=/var/www/$app +#sudo rm -rf $final_path/* # Use of latest community edition sudo wget http://repository.rainloop.net/v2/webmail/rainloop-community-latest.zip -O $final_path/rainloop.zip sudo unzip $final_path/rainloop.zip -d $final_path/