1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snappymail_ynh.git synced 2024-09-03 20:26:29 +02:00
This commit is contained in:
ericgaspar 2022-05-19 11:37:09 +02:00
parent 83f7a476d2
commit 437aaca64a
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 9 additions and 1 deletions

View file

@ -1 +1,5 @@
:heavy_exclamation_mark: The password-file is created after first opening the admin UI!
:heavy_exclamation_mark: Be sure to immediately change the default password!
Open the admin UI `https://example.com/?admin` to configure your mail server settings. Login with user "admin" and password from the file `/var/www/snappymail/data/_data_/_default_/admin_password.txt`.

View file

@ -57,9 +57,13 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=5
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/data/_data_"
ynh_setup_source --dest_dir="$final_path"
# Remove the app directory securely
ynh_secure_remove --file="$final_path/snappymail/v/2.15.3"
fi
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"