true install_keyrings # install new keys
# popravi konfiguracije koje stvaraju probleme
true restore_configs
-pkg sysklogd upgrade_syslog
+true upgrade_syslog
pkg munin-cn upgrade_munin
# konacno, instalacija novih paketa
pkg amavisd-new upgrade_amavis
# handle mysql 5.0 to 5.1 upgrade
upgrade_mysql () {
- # libc6-dev prevents mysql upgrade
- if pkg libc6-dev; then
- pkgrm libc6-dev
- fi
-
if pkg mysql-server || pkg mysql-server-5.1; then
pkgadd mysql-server
dpkg -P mysql-server-5.1
# switch to rsyslog
upgrade_syslog() {
+ # libc6-dev prevents upgrade
+ if pkg libc6-dev; then
+ pkgrm libc6-dev
+ fi
+
pkgadd rsyslog
dpkg -P sysklogd klogd
}