Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #141 from cloudflare/jwineman/140-cloudlinux-insta…
Browse files Browse the repository at this point in the history
…ll-bug

#140: Fixing install bug in CloudLinux.
  • Loading branch information
jwineman authored Mar 20, 2017
2 parents d827295 + 74cf6cc commit 6dcb93f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloudflare.install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ INSTALLER="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")"

usage() {
echo "Usage: ./$INSTALLER -k HOST_KEY -n 'ORG_NAME' [-f /path/to/local/cpanel.tar.gz ]"
echo
echo
echo " -k HOST_KEY - Your host key. If you do not have one contact"
echo " CloudFlare to obtain one before proceeding."
echo " -n ORG_NAME - The name of your organization."
Expand Down Expand Up @@ -208,7 +208,7 @@ chmod 0700 $INSTALL_DIR/bin/admin/CloudFlare/APIKey
echo "mode=simple" > $INSTALL_DIR/bin/admin/CloudFlare/APIKey.conf

# Get PHP Version
CPANELSUPPORTEDPHPPATH=`ls -al $INSTALL_DIR/3rdparty/bin/php | awk '{print $11}'`
CPANELSUPPORTEDPHPPATH=`ls -l $INSTALL_DIR/3rdparty/bin/php`
PHPVERSION=`echo $CPANELSUPPORTEDPHPPATH | rev | cut -d '/' -f 3 | rev`

# Install PHP code
Expand Down

0 comments on commit 6dcb93f

Please sign in to comment.