From c761fd145e5d56507ea8d5546ae004f3836b4b5b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 25 Mar 2008 21:05:24 -0400 Subject: filter out @@ in diff --- post-install.d/50vcs-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'post-install.d/50vcs-commit') 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 -- cgit v1.2.3