chiark / gitweb /
apache2-vhost-update: Show differences of vhost config being committed
[dsa-metapackages.git] / apache2-vhost-update
index 46643e80f8f3588e951307527215530f72ff76e2..5bddf71c3b196e6c19e8d8441bb02af91698d18d 100755 (executable)
@@ -19,7 +19,7 @@
 # %apachectrl  ALL=(root)      /usr/sbin/apache2-vhost-update
 
 
-# Copyright (c) 2009 Peter Palfrader <peter@palfrader.org>
+# Copyright (c) 2009,2010 Peter Palfrader <peter@palfrader.org>
 #
 # 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