dotfiles-directory: Ignore changes in .git/modules/

This commit is contained in:
2024-10-02 23:54:25 +02:00
parent 146cbf39b7
commit 37e6fafac0

View File

@@ -138,7 +138,7 @@
- name: fix group for dotfiles directory
shell: |
chgrp --changes --recursive dotfiles . | grep -v "changed group of './.git/index'"
chgrp --changes --recursive dotfiles . | grep -Ev "changed group of ('./.git/index'|'./.git/modules/)"
args:
executable: /bin/bash
chdir: /var/lib/dotfiles
@@ -150,7 +150,7 @@
- name: fix group permissions for dotfiles directory
shell: |
chmod --changes --recursive g+rwX . | grep -v "mode of './.git/index'"
chmod --changes --recursive g+rwX . | grep -Ev "mode of ('./.git/index'|'./.git/modules/)"
args:
executable: /bin/bash
chdir: /var/lib/dotfiles