pkg mrtg-cn pkgrm mrtg mrtg-cn # zamjenjeno sa munin
# konacno, instalacija novih paketa
pkg amavisd-cn upgrade_amavis
-pkg postfix-cn upgrade_postfix
-pkg dovecot-cn upgrade_dovecot
pkg openldap-aai upgrade_openldap
pkg apache-cn upgrade_apache
pkg mrtg-cn pkgadd munin-cn
check_and_sed '^clamd.*5.clamav.log$' \
's/^\(clamd.*\)5.clamav.log$/\14\tsocket/g' \
- /etc/inet.d/amavisd-cn || true
+ /etc/init.d/amavisd-cn || true
+
+ /etc/init.d/amavis restart
}
# fix openldap-aai postinst user handling
dpkg --configure -a # try postinst again
}
-# workaround postfix-cn dependencies
-upgrade_postfix () {
- pkgadd sasl2-bin
- pkgadd postfix postfix-cn
-}
-
-# workaround dovecot-cn dependencies
-upgrade_dovecot () {
- pkgadd dovecot-imapd dovecot-pop3d
- pkgadd dovecot-cn
-}
-
# workaround ntp-cn dependencies
upgrade_ntp () {
pkgadd ntp ntpdate