„basics.yml“ ändern

This commit is contained in:
olli 2022-07-29 17:03:00 +02:00
parent 7aea710154
commit 46398ff310

View File

@ -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