1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rainloop_ynh.git synced 2024-09-03 20:16:18 +02:00

Better upgrade

This commit is contained in:
polytan02 2015-08-09 23:03:42 +01:00
parent 71781fc3f2
commit 85ec6a0868

View file

@ -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 sudo yunohost app initdb $db_user -p $db_pwd
# Copy files to the right place # Copy files to the right place
final_path=/var/www/$app/rainloop/v/ final_path=/var/www/$app
sudo rm -rf $final_path/* #sudo rm -rf $final_path/*
# Use of latest community edition # Use of latest community edition
sudo wget http://repository.rainloop.net/v2/webmail/rainloop-community-latest.zip -O $final_path/rainloop.zip 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/ sudo unzip $final_path/rainloop.zip -d $final_path/