diff --git a/primemover.sh b/primemover.sh index 1e34d90..4938707 100644 --- a/primemover.sh +++ b/primemover.sh @@ -11,7 +11,9 @@ # You'll need to already have manually built your sites at RunCloud and have WordPress successfully running there BEFORE trying to move sites in from other sources. # ServerPilot site build code (via API) is already built but needs to be reintegrated to this work. -source ~/.bash_profile +if [ -f ~/.bash_profile ]; then + source ~/.bash_profile +fi if [[ $EUID -ne 0 ]]; then echo "This script must be run as root, exiting!!!" @@ -201,7 +203,7 @@ VerifySiteMigration() { MeImCounting() { - echo "This is all very VERY aplha right now. Use at your own risk." + echo "This is all very VERY alpha right now. Use at your own risk." echo " " echo "All kinds of things might be broken. It's a work in progress and we'll get it hammered out shortly." echo " " @@ -508,7 +510,7 @@ PackageSite() { elif [ $envir == "SP" ] then - echo "Packaging local ServerPilot powered site $appname for user $D..." + echo "Packaging local ServerPilot powered site $appname for user $username..." # Get to the choppa... cd /srv/users/$username/apps/$appname/public diff --git a/vendors/runcloud.sh b/vendors/runcloud.sh index edce65e..0610dd1 100644 --- a/vendors/runcloud.sh +++ b/vendors/runcloud.sh @@ -56,15 +56,15 @@ RCtoSP() { if [ -f "/etc/php56rc/fpm.d/$appname.conf" ] then - echo "PHP56RC file found... setting PHP to verison 5.6" + echo "PHP56RC file found... setting PHP to version 5.6" php="php5.6" elif [ -f "/etc/php70rc/fpm.d/$appname.conf" ] then - echo "PHP70RC file found... setting PHP to verison 7.0" + echo "PHP70RC file found... setting PHP to version 7.0" php="php7.0" elif [ -f "/etc/php71rc/fpm.d/$appname.conf" ] then - echo "PHP71RC file found... setting PHP to verison 7.1" + echo "PHP71RC file found... setting PHP to version 7.1" php="php7.1" else echo "No PHP file found... defaulting to PHP7.0" @@ -320,7 +320,7 @@ RCtoGP() { # Get all RunCloud domains rcDomains - $site_to_clone="ALL" + site_to_clone="ALL" DoWork diff --git a/vendors/serverpilot.sh b/vendors/serverpilot.sh index 7cb469d..2a430b8 100644 --- a/vendors/serverpilot.sh +++ b/vendors/serverpilot.sh @@ -485,7 +485,7 @@ SPtoGP() { # Get all ServerPilot domains spDomains - $site_to_clone="ALL" + site_to_clone="ALL" DoWork