diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-02-08 02:21:45 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-02-08 02:21:45 -0200 |
commit | 032b6e5ec2c34f992b4d8a344ef460db4e9369d2 (patch) | |
tree | c81e17e355bfaa94d54dda1ff5dca3eba488eb41 /share/hydractl/system-upgrade | |
parent | c47d2e7762e8f2ac77efcee5b65ccc794f2c1f25 (diff) | |
download | hydra-032b6e5ec2c34f992b4d8a344ef460db4e9369d2.tar.gz hydra-032b6e5ec2c34f992b4d8a344ef460db4e9369d2.tar.bz2 |
Some simplification
Diffstat (limited to 'share/hydractl/system-upgrade')
-rwxr-xr-x | share/hydractl/system-upgrade | 15 |
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 |