From e22b6bfb8e02c94159868ae1b3e433e30971a51e Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Mon, 27 Apr 2009 17:25:32 +0200 Subject: [PATCH] Remove PHP 4 packages. --- src/actions/main.queue | 1 + src/functions.sh | 6 ++++++ 2 files changed, 7 insertions(+) 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 -- 1.7.10.4