From f57d83163625260f420351753c64fdb61918a7f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 24 Nov 2023 08:44:09 +0100 Subject: [PATCH] add post upgrade message --- doc/POST_UPGRADE.md | 1 + doc/POST_UPGRADE_fr.md | 1 + scripts/upgrade | 11 ----------- 3 files changed, 2 insertions(+), 11 deletions(-) create mode 100644 doc/POST_UPGRADE.md create mode 100644 doc/POST_UPGRADE_fr.md diff --git a/doc/POST_UPGRADE.md b/doc/POST_UPGRADE.md new file mode 100644 index 0000000..7da1480 --- /dev/null +++ b/doc/POST_UPGRADE.md @@ -0,0 +1 @@ +Note that if you've installed some third-parties Nextcloud applications, they are probably disabled and you'll have to manually enable them again. \ No newline at end of file diff --git a/doc/POST_UPGRADE_fr.md b/doc/POST_UPGRADE_fr.md new file mode 100644 index 0000000..9fe2b10 --- /dev/null +++ b/doc/POST_UPGRADE_fr.md @@ -0,0 +1 @@ +Notez que si vous avez installé des applications Nextcloud tierces, elles sont probablement désactivées et vous devrez les réactiver manuellement. \ No newline at end of file diff --git a/scripts/upgrade b/scripts/upgrade index b1404b7..bf10498 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -366,17 +366,6 @@ chmod 640 "$install_dir/config/config.php" chmod 755 /home/yunohost.app chmod 750 $install_dir -#================================================= -# WARNING ABOUT THIRD-PARTY APPS -#================================================= - -if [ "$upgrade_type" == "UPGRADE_APP" ] -then - # Warn about possible disabled apps - ynh_print_warn --message="Note that if you've installed some third-parties Nextcloud applications, \ - they are probably disabled and you'll have to manually enable them again." -fi - #================================================= # SETUP LOGROTATE #=================================================