aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/system-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/system-upgrade')
-rwxr-xr-xshare/hydractl/system-upgrade15
1 files changed, 4 insertions, 11 deletions
diff --git a/share/hydractl/system-upgrade b/share/hydractl/system-upgrade
index ec3c5c3..ab32bf7 100755
--- a/share/hydractl/system-upgrade
+++ b/share/hydractl/system-upgrade
@@ -129,23 +129,16 @@ function hydra_system_upgrade_upgrade {
# Cleanup procedures
function hydra_system_upgrade_cleanup {
- apt-get autoremove -y
+ apt-get autoremove -y --purge
apt-get clean
hydra_system_upgrade_stage custom
}
# Custom upgrade procedures
function hydra_system_upgrade_custom {
- if [ "$nextrelease" == "wheezy" ]; then
- # Old suhosin config
- rm -f /etc/php5/conf.d/suhosin.ini
-
- # This has to be manually installed again
- if [ -f "/etc/php5/cli/conf.d/uploadprogress.ini" ]; then
- pecl uninstall uploadprogress
- pecl install uploadprogress
- fi
- fi
+ #if [ "$nextrelease" == "jessie" ]; then
+ # # Do your custom jessie stuff here
+ #fi
hydractl trac-upgrade
hydra_system_upgrade_stage puppet