„basics.yml“ ändern
This commit is contained in:
parent
7aea710154
commit
46398ff310
@ -253,10 +253,11 @@
|
|||||||
# execute for linuxmint
|
# execute for linuxmint
|
||||||
if [ -d /etc/linuxmint ]
|
if [ -d /etc/linuxmint ]
|
||||||
then
|
then
|
||||||
for rc in ~/.bashrc /etc/skel/.bashrc
|
grep -q /etc/profile.d/settings-from-ansible.sh ~/.bashrc || echo '. /etc/profile.d/settings-from-ansible.sh' >> ~/.bashrc
|
||||||
do
|
#for rc in ~/.bashrc /etc/skel/.bashrc
|
||||||
grep -q /etc/profile.d/settings-from-ansible.sh $rc || echo '. /etc/profile.d/settings-from-ansible.sh' >> $rc
|
#do
|
||||||
done
|
# grep -q /etc/profile.d/settings-from-ansible.sh $rc || echo '. /etc/profile.d/settings-from-ansible.sh' >> $rc
|
||||||
|
#done
|
||||||
fi
|
fi
|
||||||
backup: yes
|
backup: yes
|
||||||
validate: /bin/bash -n %s
|
validate: /bin/bash -n %s
|
||||||
|
Loading…
Reference in New Issue
Block a user