[microdecision] Update list of 'special packages' according to tools.py

This commit is contained in:
Alexandre Aubin 2019-02-04 18:55:46 +01:00
parent 66d5e9e3b3
commit 3233400d70

View file

@ -55,7 +55,7 @@
data.packages[i].changelog = data.packages[i].changelog.replace(/\n/g, '<br />'); data.packages[i].changelog = data.packages[i].changelog.replace(/\n/g, '<br />');
// Check for special packages that need delayed upgrade. // Check for special packages that need delayed upgrade.
if (["moulinette", "moulinette-yunohost", "yunohost-admin", "yunohost-config-nginx", "ssowat", "python"].indexOf(data.packages[i].name) != -1) { if (["moulinette", "yunohost", "yunohost-admin", "ssowat", "python"].indexOf(data.packages[i].name) != -1) {
c.flash('warning', y18n.t('system_delayed_upgrade_warning', [data.packages[i].name])); c.flash('warning', y18n.t('system_delayed_upgrade_warning', [data.packages[i].name]));
data.packages[i].delayed = true; data.packages[i].delayed = true;
} }