pkg dovecot-cn upgrade_dovecot
pkg bind9-cn upgrade_bind
pkg fail2ban-cn upgrade_fail2ban
+pkg mailman-cn upgrade_mailman
true upgrade_postgresql
true upgrade first # neki paketi moraju rucno
true upgrade second # neke pakete zelimo ranije
fi
}
+# manual upgrade of mailman to avoid two copies of mailman running
+# first started by python upgrade and second started by mailman itself
+upgrade_mailman() {
+ /etc/init.d/mailman stop || true
+ pkgadd python
+ pkgadd mailman mailman-cn
+}
+
get_variable () {
local name=$1 file=$2 val