summaryrefslogtreecommitdiff
path: root/init.d/40git-ignore
blob: 88866cf15531ecfba46331db997ad9029340aee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e
if [ ! -e .gitignore ]; then
	cat >.gitignore <<EOF
*~

# new and old versions of conffiles, stored by dpkg
*.dpkg-*

# mount(8) records system state here, no need to keep these in git
blkid.tab(|.old)
mtab
EOF
fi