# i ostatak
true add_group_proc # za oidentd
true pkgadd monit-cn
-pkg php5-cn remove_php4
+true 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
}
# remove unsupported php version
+# but leave the configuration just in case
remove_php4 () {
- # leave the configuration just in case
- pkgrm_only php4-common || true
+ if pkg php5-cn && pkg php4-common; then
+ pkgrm_only php4-common
+ fi
}
# check if package is orphaned (nothing depends on it)