From 4e0e3a95b240acf298866b4ff4db8ee8163661c5 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Wed, 24 Jun 2020 11:28:02 +0200 Subject: [PATCH] disable some buttons --- demo_lxc_build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo_lxc_build.sh b/demo_lxc_build.sh index f7b71a8..b7b6aed 100755 --- a/demo_lxc_build.sh +++ b/demo_lxc_build.sh @@ -240,10 +240,10 @@ sed -i "17i\   Password: $YUNO_PWD" /var/lib/lxc/yunohost_demo1/r sed -i "s/type=\"password\" id=\"password\" name=\"password\"/type=\"password\" id=\"password\" name=\"password\" value=\"$YUNO_PWD\"/" /var/lib/lxc/yunohost_demo1/rootfs/usr/share/yunohost/admin/views/login.ms # Désactive l'installation d'app custom -sed -i "s///g" /var/lib/lxc/yunohost_demo1/rootfs/usr/share/yunohost/admin/views/app/app_list_install.ms +sed -i "s/{{t 'install'}}/{{t 'install'}}/g" /var/lib/lxc/yunohost_demo1/rootfs/usr/share/yunohost/admin/views/app/app_catalog_category.ms # Désactive l'ajout de domaine, pour éviter surtout les nohost -sed -i "s///g" /var/lib/lxc/yunohost_demo1/rootfs/usr/share/yunohost/admin/views/domain/domain_add.ms +sed -i "s///g" /var/lib/lxc/yunohost_demo1/rootfs/usr/share/yunohost/admin/views/domain/domain_add.ms # ********