mirror of
https://github.com/YunoHost-Apps/rainloop_ynh.git
synced 2024-09-03 20:16:18 +02:00
Removal of downloaded zip source after installation
This commit is contained in:
parent
cc926a255f
commit
71781fc3f2
2 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,7 @@ sudo mkdir -p $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/
|
||||
sudo rm $final_path/rainloop.zip
|
||||
|
||||
# Set permissions to rainloop directory
|
||||
# sudo mkdir -p $final_path/logs
|
||||
|
|
|
@ -20,6 +20,7 @@ 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/
|
||||
sudo rm $final_path/rainloop.zip
|
||||
|
||||
# Set permissions to rainloop directory
|
||||
sudo chown -R www-data:www-data /var/www/$app
|
||||
|
|
Loading…
Reference in a new issue