Created
October 22, 2014 17:43
-
-
Save erronjason/655309b7e794632203c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Check for cPanel | |
if [[ -d "/scripts" ]];then | |
echo "cpanel detected" | |
echo "Update cPanel? [y|n]" | |
read CPAN | |
if [ `echo $CPAN | egrep '(y|yes)'` ]; then | |
/scripts/upcp --force | |
fi | |
else | |
echo "No cPanel detected!" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment