From ec0218e86b32dd80d8cb4e5a69ea7d7c9b5f4ad6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 13 Feb 2009 23:40:30 -0500 Subject: ignore file update support * etckeeper update-ignore will automatically update the VCS ignore file, only touching the part inside a "managed by etckeeper" comment block. * Run etckeeper update-ignore on upgrade. --- debian/changelog | 4 ++++ debian/postinst | 3 +++ 2 files changed, 7 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 2ab4c30..15feb06 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,10 @@ etckeeper (0.30) UNRELEASED; urgency=low * Add vim .*.sw? files to default ignores. * Also add emacs #*# autosave files to default ignores. * And DEADJOE files, for good measure. + * etckeeper update-ignore will automatically update the VCS ignore + file, only touching the part inside a "managed by etckeeper" + comment block. + * Run etckeeper update-ignore on upgrade. -- Joey Hess Fri, 13 Feb 2009 22:09:28 -0500 diff --git a/debian/postinst b/debian/postinst index 039c4c0..834b069 100644 --- a/debian/postinst +++ b/debian/postinst @@ -72,4 +72,7 @@ configure) fi done fi + + # prints error and exits nonzero if the ignore file cannot be updated + etckeeper update-ignore || true esac -- cgit v1.2.3