summaryrefslogtreecommitdiff
path: root/post-install.d
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-03-25 21:05:24 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-03-25 21:05:24 -0400
commitc761fd145e5d56507ea8d5546ae004f3836b4b5b (patch)
tree4aff63003027b2ff4a46c29ab0d7a302f7b1b6b2 /post-install.d
parentb4b7c0996c73291b34f0566f74ad2513c44a6371 (diff)
filter out @@ in diff
Diffstat (limited to 'post-install.d')
-rwxr-xr-xpost-install.d/50vcs-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/post-install.d/50vcs-commit b/post-install.d/50vcs-commit
index 76fb668..f223029 100755
--- a/post-install.d/50vcs-commit
+++ b/post-install.d/50vcs-commit
@@ -9,7 +9,7 @@ if etckeeper unclean; then
message="committing changes in /etc after $HIGHLEVEL_PACKAGE_MANAGER run"
if [ -e $pl.pre-install ]; then
- message="$message$NL$(etckeeper list-installed | diff -U0 $pl.pre-install - | tail -n+4)"
+ message="$message$NL$(etckeeper list-installed | diff -U0 $pl.pre-install - | tail -n+4 | egrep '^[-+]')"
rm -f $pl.pre-install
fi