diff --git a/demo_upgrade.sh b/demo_upgrade.sh index e06cb1d..bd38c3c 100755 --- a/demo_upgrade.sh +++ b/demo_upgrade.sh @@ -128,7 +128,7 @@ UPGRADE_DEMO_CONTAINER () { # Démarrage, upgrade et snapshot # Upgrade des apps sudo lxc-attach -n $MACHINE -- yunohost tools update sudo lxc-attach -n $MACHINE -- systemctl restart nginx - sudo lxc-attach -n $MACHINE -- yunohost tools upgrade --apps + sudo lxc-attach -n $MACHINE -- yunohost tools upgrade apps sudo lxc-attach -n $MACHINE -- systemctl restart nginx # Arrêt de la machine virtualisée diff --git a/upgrade.d/Constant_upgrade/Disable_add_domain b/upgrade.d/Constant_upgrade/Disable_add_domain index 0638bf2..50a5b0a 100644 --- a/upgrade.d/Constant_upgrade/Disable_add_domain +++ b/upgrade.d/Constant_upgrade/Disable_add_domain @@ -6,4 +6,4 @@ if [ "${0:0:1}" == "/" ]; then script_dir="$(dirname "$0")"; else script_dir="$P MACHINE=$1 # Nom du conteneur # Désactive l'ajout de domaine, pour éviter surtout les nohost -sed -i "s@@@g" /var/lib/lxc/$MACHINE/rootfs/usr/share/yunohost/admin/views/domain/domain_add.ms +#sed -i "s@@@g" /var/lib/lxc/$MACHINE/rootfs/usr/share/yunohost/admin/views/domain/domain_add.ms diff --git a/upgrade.d/Constant_upgrade/Disable_custom_apps b/upgrade.d/Constant_upgrade/Disable_custom_apps index 385f31b..fc64630 100644 --- a/upgrade.d/Constant_upgrade/Disable_custom_apps +++ b/upgrade.d/Constant_upgrade/Disable_custom_apps @@ -6,4 +6,4 @@ if [ "${0:0:1}" == "/" ]; then script_dir="$(dirname "$0")"; else script_dir="$P MACHINE=$1 # Nom du conteneur # Désactive l'installation d'app custom -sed -i "s@{{t 'install'}}@{{t 'install'}}@g" /var/lib/lxc/$MACHINE/rootfs/usr/share/yunohost/admin/views/app/app_catalog_category.ms +#sed -i "s@{{t 'install'}}@{{t 'install'}}@g" /var/lib/lxc/$MACHINE/rootfs/usr/share/yunohost/admin/views/app/app_catalog_category.ms