From 58a9ca7aa9374f77786a00171d048ae7e155a505 Mon Sep 17 00:00:00 2001 From: Johan Wassberg Date: Mon, 2 Oct 2023 12:39:44 +0200 Subject: [PATCH] No need of x11 on our servers --- global/pre-tasks.d/040hiera-eyaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/global/pre-tasks.d/040hiera-eyaml b/global/pre-tasks.d/040hiera-eyaml index 1f2758d..9656413 100755 --- a/global/pre-tasks.d/040hiera-eyaml +++ b/global/pre-tasks.d/040hiera-eyaml @@ -19,6 +19,9 @@ test -f "$stamp" && exit 0 if [ ! -f /usr/bin/eyaml ] || [ ! -d /usr/share/doc/yaml-mode ]; then apt-get update + # If we don't install emacs before yaml-mode the default emacs package + # will be emacs-gtk which brings x11 with friends which we don't need. + apt-get -y install emacs-nox apt-get -y install hiera-eyaml yaml-mode fi