From f55cc31f294df5766f3c973704653a93820e2e9d Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 23 Jan 2010 17:27:27 +0100 Subject: [PATCH] apache2-vhost-update: Show differences of vhost config being committed --- apache2-vhost-update | 5 ++++- debian/changelog | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apache2-vhost-update b/apache2-vhost-update index 46643e8..5bddf71 100755 --- a/apache2-vhost-update +++ b/apache2-vhost-update @@ -19,7 +19,7 @@ # %apachectrl ALL=(root) /usr/sbin/apache2-vhost-update -# Copyright (c) 2009 Peter Palfrader +# Copyright (c) 2009,2010 Peter Palfrader # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -130,6 +130,9 @@ if [ "$?" != "0" ]; then exit 1 fi +echo "Differences:" +rcsdiff -u "$DESTINATION/$site" + echo "update run by $USER($SUDO_USER) at `date -R -u` on `hostname -f`" | \ ci -u "$DESTINATION/$site" if [ "$?" != "0" ]; then diff --git a/debian/changelog b/debian/changelog index cfac9a1..ec73904 100644 --- a/debian/changelog +++ b/debian/changelog @@ -34,8 +34,9 @@ debian.org (30) UNRELEASED; urgency=low - libtimedate-perl * New dependencies of debian.org-recommended: - ftp + * apache2-vhost-update: Show differences of vhost config being committed. - -- Peter Palfrader Sat, 23 Jan 2010 14:07:36 +0100 + -- Peter Palfrader Sat, 23 Jan 2010 17:26:50 +0100 debian.org (29) stable; urgency=low -- 2.30.2