Move apache and munin earlier in the action queue.
authorValentin Vidic <vvidic@carnet.hr>
Fri, 11 Jan 2008 14:51:22 +0000 (15:51 +0100)
committerValentin Vidic <vvidic@carnet.hr>
Fri, 11 Jan 2008 14:51:22 +0000 (15:51 +0100)
Remove special handling for ntp-cn.

src/actions/main.queue
src/data.sh
src/functions.sh

index 53edf3e..c0a1e73 100644 (file)
@@ -28,13 +28,12 @@ true                                upgrade_libc
 true                           install_keyrings
 # popravi konfiguracije koje stvaraju probleme
 true                           restore_configs
+pkg mrtg-cn                    pkgadd munin-cn
 pkg mrtg-cn                    pkgrm mrtg mrtg-cn      # zamjenjeno sa munin
 # konacno, instalacija novih paketa
 pkg amavisd-cn                 upgrade_amavis
-pkg openldap-aai               upgrade_openldap
 pkg apache-cn                  upgrade_apache
-pkg mrtg-cn                    pkgadd munin-cn
-pkg ntp-cn                     upgrade_ntp
+pkg openldap-aai               upgrade_openldap
 true                           upgrade first           # neki paketi moraju rucno
 true                           upgrade second          # neke pakete zelimo ranije
 pkg freeradius-cn lt 2:1.0.1-2 install_freeradius      # neki su totalno poremeceni # fix 2.1.4
index 08dbdba..f7a1739 100644 (file)
@@ -54,7 +54,7 @@ openldap-aai
 freeradius-aai freeradius
 aosi-aai
 aosi-www-aai
-ntp-cn ntp
+ntp-cn
 vsftpd-cn vsftpd
 xinetd-cn xinetd       
 monit-cn
index dd8db6f..87d0e92 100644 (file)
@@ -510,13 +510,6 @@ upgrade_openldap () {
   dpkg --configure -a # try postinst again
 }
 
-# workaround ntp-cn dependencies
-upgrade_ntp () {
-  pkgadd ntp ntpdate
-  # pkgrm ntp-server
-  pkgadd ntp-cn
-}
-
 # instaliraj zadnji freeradius; uvjeti u queue fileovima
 install_freeradius () {
   pkgadd --force-yes freeradius-cn freeradius=1.0.5-0 freeradius-ldap=1.0.5-0