}
# 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)