From 7aea7101543ac8f65e601db622b54113974c1fd9 Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 12 Jul 2022 14:28:14 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Ebasics.yml=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- basics.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/basics.yml b/basics.yml index 66f0728..a7778a8 100644 --- a/basics.yml +++ b/basics.yml @@ -250,6 +250,14 @@ # show root@ when we don't have colors PS1+='\u@\h \w \$' fi + # execute for linuxmint + if [ -d /etc/linuxmint ] + then + for rc in ~/.bashrc /etc/skel/.bashrc + do + grep -q /etc/profile.d/settings-from-ansible.sh $rc || echo '. /etc/profile.d/settings-from-ansible.sh' >> $rc + done + fi backup: yes validate: /bin/bash -n %s