From 46398ff3103a47634cc48757c85caa21f455d884 Mon Sep 17 00:00:00 2001 From: olli Date: Fri, 29 Jul 2022 17:03:00 +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 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/basics.yml b/basics.yml index a7778a8..8edc9de 100644 --- a/basics.yml +++ b/basics.yml @@ -253,10 +253,11 @@ # 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 + grep -q /etc/profile.d/settings-from-ansible.sh ~/.bashrc || echo '. /etc/profile.d/settings-from-ansible.sh' >> ~/.bashrc + #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