- ispravno proslijedi $* array u update_postfix (do sada nije dobivao $1 i
$2)
Signed-off-by: Dinko Korunic <kreator@carnet.hr>
. /usr/share/amavisd-cn/variables.sh
. /usr/share/amavisd-cn/functions.sh
-# Place configuration tweaks done on upgrades into this function
-update_conf() {
- [ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx
- # placeholder.
- # remember to set changed_config=1 and restart_daemon=1 if necessary
- #:
- if dpkg --compare-versions "$1" lt $MASTTMPLVERSION; then
- conf_from_template
- fi
-}
-
mta=postfix
. /usr/share/amavisd-cn/postfix.sh
cp_get_mx_domain
domain=$RET
-update_postfix
+update_postfix $*
# amavisd.conf
if [ -f "$ACONFOLD" ]; then
changed_config=1
}
+# Place configuration tweaks done on upgrades into this function
+update_conf() {
+ # placeholder.
+ # remember to set changed_config=1 and restart_daemon=1 if necessary
+ #:
+ if dpkg --compare-versions "$2" lt "$MASTTMPLVERSION"; then
+ conf_from_template
+ fi
+}
+
add_redirection() {
until [ -z "$1" ]
do