summaryrefslogtreecommitdiff
path: root/share/hydractl/system-upgrade
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-15 18:53:33 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-15 18:53:33 -0200
commit439d340c3daeb7e186366a05877141907d0ba66d (patch)
treee80d81d990c9411c187dea33a52b3d9fddc3d11b /share/hydractl/system-upgrade
parent2365014d872ca3a97407b833ae54de4ca4485886 (diff)
downloadhydra-439d340c3daeb7e186366a05877141907d0ba66d.tar.gz
hydra-439d340c3daeb7e186366a05877141907d0ba66d.tar.bz2
Upgrading pecl uploadprogress on system-upgrade
Diffstat (limited to 'share/hydractl/system-upgrade')
-rwxr-xr-xshare/hydractl/system-upgrade4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/hydractl/system-upgrade b/share/hydractl/system-upgrade
index e7b6703..aae2ba5 100755
--- a/share/hydractl/system-upgrade
+++ b/share/hydractl/system-upgrade
@@ -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