From: Valentin Vidic Date: Mon, 27 Apr 2009 15:25:32 +0000 (+0200) Subject: Remove PHP 4 packages. X-Git-Tag: debian/5.0.0~29 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=carnet-upgrade.git;a=commitdiff_plain;h=e22b6bfb8e02c94159868ae1b3e433e30971a51e Remove PHP 4 packages. --- diff --git a/src/actions/main.queue b/src/actions/main.queue index b9746a0..d61ed2e 100644 --- a/src/actions/main.queue +++ b/src/actions/main.queue @@ -51,6 +51,7 @@ true dist_upgrade # instaliraj ostatak # i ostatak true add_group_proc # za oidentd true pkgadd monit-cn +pkg php5-cn remove_php4 pkg kernel-2.6-cn dpkg-reconfigure kernel-2.6-cn # ovo bi trebalo biti predzadnje na popisu # - izvrsi sve uvjetne post_upgrade akcije diff --git a/src/functions.sh b/src/functions.sh index ff90033..33fe10b 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -898,6 +898,12 @@ remove_skey () { fi } +# remove unsupported php version +remove_php4 () { + # leave the configuration just in case + pkgrm_only php4-common +} + # check if package is orphaned (nothing depends on it) is_orphaned () { local package deps