#!/usr/bin/perl

# cpanel - autofixer2/php53_blocker               Copyright(c) 2015 cPanel, Inc.
#                                                           All rights Reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

# For some unknown reason, people set install_targets.cpanel-php53 in some attempt to block php53
# from installing RPMS? This would have never done anything useful and it was blocking upgrades
# to 11.46. Based on the quantity of affected servers by this blocker, it looks like the change
# was a mistake. Simply deleting this should do the right thing. It looks like it was a 3rd
# party script doing this. We're simply going to undo it. Moving to 11.46 will upgrade the end
# user to php54

use strict;
use warnings;

system(qw{/scripts/update_local_rpm_versions --del install_targets.cpanel-php53});
