aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/system-upgrade
diff options
context:
space:
mode:
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