]> gitweb.fluxo.info Git - hydra.git/commitdiff
Custom system-upgrade procedures
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 15 Feb 2013 01:13:31 +0000 (23:13 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 15 Feb 2013 01:13:31 +0000 (23:13 -0200)
share/hydractl/system-upgrade

index 40dc3527e5429f0c751d3c046f465dab5e052b08..1878fed3fae12812fae9905f61411840bc244f2b 100755 (executable)
@@ -65,6 +65,11 @@ fi
 # Remove unused packages
 apt-get autoremove
 
+# Custom procedures
+if [ "$nextrelease" == "wheezy" ]; then
+  rm -f /etc/php5/conf.d/suhosin.ini
+fi
+
 # Enable puppet again
 echo ""
 echo "Starting puppet again..."