]> gitweb.fluxo.info Git - hydra.git/commitdiff
Upgrading pecl uploadprogress on system-upgrade
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 15 Feb 2013 20:53:33 +0000 (18:53 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 15 Feb 2013 20:53:33 +0000 (18:53 -0200)
share/hydractl/system-upgrade

index e7b6703033b8ecf4b379e8d2717e20becc695078..aae2ba5eff5b83e841cdfe79b3024c95a1845d5a 100755 (executable)
@@ -71,7 +71,9 @@ if [ "$nextrelease" == "wheezy" ]; then
   rm -f /etc/php5/conf.d/suhosin.ini
 
   # This has to be manually installed again
-  rm -f /etc/php5/cli/conf.d/uploadprogress.ini
+  if [ -f "/etc/php5/cli/conf.d/uploadprogress.ini" ]; then
+    pecl upgrade uploadprogress
+  fi
 fi
 
 # Enable puppet again