diff --git a/scripts/install b/scripts/install index 1a2be53..3c67972 100644 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index b536550..848cb3b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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