From: Valentin Vidic Date: Fri, 11 Mar 2011 15:21:16 +0000 (+0100) Subject: Report database sizes. X-Git-Tag: debian/20110311.1~1 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=316cd0a985f1e404742e6152f1112434f8b16ef7;p=bacula-cn.git Report database sizes. --- diff --git a/debian/postinst b/debian/postinst index a192ddc..6f7ca9c 100644 --- a/debian/postinst +++ b/debian/postinst @@ -216,6 +216,20 @@ EOF df -h | $GPG >> $REQUEST_FILE +# attachment: database sizes +if [ -d /var/lib/mysql -o -d /var/lib/postgresql ]; then + cat >> $REQUEST_FILE </dev/null \ + | $GPG >> $REQUEST_FILE +fi + # attachment: client config cat >> $REQUEST_FILE <