From: Valentin Vidic Date: Fri, 13 Sep 2013 09:00:59 +0000 (+0200) Subject: Support for new openssl versions (RT#140509). X-Git-Tag: debian/20130913~1 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=a114cb6edf31ac9c685dee2ded75ff0af18e54c0;p=bacula-cn.git Support for new openssl versions (RT#140509). --- diff --git a/debian/postinst b/debian/postinst index 97d8ac5..68f0916 100644 --- a/debian/postinst +++ b/debian/postinst @@ -170,7 +170,7 @@ restart_bacula() { } random_string() { - head -n 20 /dev/urandom | openssl dgst -sha1 + head -n 20 /dev/urandom | openssl dgst -sha1 | sed 's/^.* //' } send_mail() {