Izbačen bash-izam iz postinsta
[dovecot-cn.git] / debian / postinst
index b9202d1..0b0086b 100755 (executable)
@@ -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 = </etc/dovecot/private/dovecot.pem' \
                    's|#ssl_key = </etc/dovecot/private/dovecot.pem|ssl_key = </etc/dovecot/private/dovecot.key|g' \