projects
/
carnet-upgrade.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup php4 remove function.
[carnet-upgrade.git]
/
src
/
functions.sh
diff --git
a/src/functions.sh
b/src/functions.sh
index
beccd14
..
ef321d6
100644
(file)
--- a/
src/functions.sh
+++ b/
src/functions.sh
@@
-975,9
+975,11
@@
remove_skey () {
}
# remove unsupported php version
}
# remove unsupported php version
+# but leave the configuration just in case
remove_php4 () {
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)
}
# check if package is orphaned (nothing depends on it)