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

Update in sudo commands

This commit is contained in:
polytan02 2015-06-28 12:54:58 +01:00
parent 8e8fb6841b
commit 89fc7a48ad
2 changed files with 4 additions and 5 deletions

View file

@ -37,8 +37,8 @@ final_path=/var/www/$app
sudo rm -rf $final_path
sudo mkdir -p $final_path
# Use of latest community edition
sudo wget http://repository.rainloop.net/v2/webmail/rainloop-community-latest.zip -O ../sources/rainloop.zip
sudo unzip ../sources/rainloop.zip -d $final_path/
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/
# Set permissions to rainloop directory
# sudo mkdir -p $final_path/logs

View file

@ -18,9 +18,8 @@ sudo yunohost app initdb $db_user -p $db_pwd
final_path=/var/www/$app/rainloop/v/
sudo rm -rf $final_path/*
# Use of latest community edition
sudo wget http://repository.rainloop.net/v2/webmail/rainloop-community-latest.zip -O ../sources/rainloop.zip
sudo unzip ../sources/rainloop.zip -d $final_path/
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/
# Set permissions to rainloop directory
sudo chown -R www-data:www-data /var/www/$app