summaryrefslogtreecommitdiff
path: root/init.d/50git-ignore
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/50git-ignore')
-rwxr-xr-xinit.d/50git-ignore8
1 files changed, 8 insertions, 0 deletions
diff --git a/init.d/50git-ignore b/init.d/50git-ignore
index de58ed5..778774e 100755
--- a/init.d/50git-ignore
+++ b/init.d/50git-ignore
@@ -7,6 +7,14 @@ if [ ! -e .gitignore ]; then
*.dpkg-*
EOF
fi
+ if [ "$LOWLEVEL_PACKAGE_MANAGER" = "pacman-g2" ]; then
+ cat >.gitignore <<EOF
+# new and old versions of conffiles, stored by pacman
+*.pacnew
+*.pacorig
+*.pacsave
+EOF
+ fi
cat >>.gitignore <<EOF
*~