diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-02-13 23:40:30 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-02-13 23:40:30 -0500 |
commit | ec0218e86b32dd80d8cb4e5a69ea7d7c9b5f4ad6 (patch) | |
tree | 0d62e0ba272f656b8f36e6c5ad4e789a08c8ade1 /debian | |
parent | 62bd8959418ca26c8b8e45561f4dba71758b0ec3 (diff) |
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.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 4 | ||||
-rw-r--r-- | debian/postinst | 3 |
2 files changed, 7 insertions, 0 deletions
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 <joeyh@debian.org> 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 |