„basics.yml“ ändern

This commit is contained in:
olli 2022-07-12 14:28:14 +02:00
parent 906d584fe0
commit 7aea710154

View File

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