X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=dovecot-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=0b0086bb218b84c3ead90049eadc076f26446d0c;hp=b9202d111a5745b6947f5175bd9bed962c0585dc;hb=64207e10024398b2031499706b9580fd979c1d15;hpb=38d9a6700d7248f523c8c9d056f1470f99eb7eef diff --git a/debian/postinst b/debian/postinst index b9202d1..0b0086b 100755 --- a/debian/postinst +++ b/debian/postinst @@ -9,7 +9,7 @@ set -e . /usr/share/carnet-tools/functions.sh -function move_certs() { +move_certs() { if [ -f /etc/dovecot/private/dovecot.pem -a ! -f /etc/dovecot/private/dovecot.key ]; then mv -f /etc/dovecot/private/dovecot.pem /etc/dovecot/private/dovecot.key || true fi @@ -19,7 +19,7 @@ function move_certs() { fi } -function put_new_certs() { +put_new_certs() { # postavlja cert i key na nove putanje iz bustera cp_check_and_sed '#ssl_key =