summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-02-13 23:40:30 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-02-13 23:40:30 -0500
commitec0218e86b32dd80d8cb4e5a69ea7d7c9b5f4ad6 (patch)
tree0d62e0ba272f656b8f36e6c5ad4e789a08c8ade1 /debian/postinst
parent62bd8959418ca26c8b8e45561f4dba71758b0ec3 (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/postinst')
-rw-r--r--debian/postinst3
1 files changed, 3 insertions, 0 deletions
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