diff --git a/conf/message b/conf/message deleted file mode 100644 index 403c4e0..0000000 --- a/conf/message +++ /dev/null @@ -1,5 +0,0 @@ -Mastodon was successfully installed :) -Please open : https://__DOMAIN____PATH_URL__ -The admin email is: __ADMIN_MAIL__ -The admin password is: __ADMIN_PASS__ -If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/mastodon_ynh \ No newline at end of file diff --git a/scripts/upgrade b/scripts/upgrade index a26133f..e152b5b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -182,14 +182,14 @@ then rsync -a "$final_path/live/public/system" "$tmpdir/." fi rsync -a "$final_path/live/.env.production" "$tmpdir/." - ynh_secure_remove --file="$final_path/live/" + ynh_secure_remove --file="$final_path/live" ynh_setup_source --dest_dir="$final_path/live" if [ -d "$tmpdir/system" ]; then rsync -a "$tmpdir/system" "$final_path/live/public/." fi rsync -a "$tmpdir/.env.production" "$final_path/live/." - ynh_secure_remove --file="$tmpdir/" + ynh_secure_remove --file="$tmpdir" # Clean files which are not needed anymore ynh_secure_remove --file="$final_path/live/config/initializers/timeout.rb"