From 032b6e5ec2c34f992b4d8a344ef460db4e9369d2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 8 Feb 2016 02:21:45 -0200 Subject: Some simplification --- share/hydractl/system-upgrade | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'share/hydractl/system-upgrade') 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 -- cgit v1.2.3