Path error in setup script

This commit is contained in:
Richard Goodwin
2018-10-21 11:39:24 -05:00
parent 307afe4792
commit 055c0e8d36
2 changed files with 15 additions and 6 deletions

View File

@@ -127,10 +127,11 @@ function verify_pushover_variables () {
}
function download_scripts () {
mkdir "${BOOT_DIR}/teslausb_script_scripts"
if [ ! -d "${BOOT_DIR}/teslausb_script_scripts" ]
then
stop_message "ERROR: Failed to make teslausb_setup_scripts and download setup scripts. Ensure you have internet access and run this script again."
mkdir "${BOOT_DIR}/teslausb_script_scripts"
# stop_message "ERROR: Failed to make teslausb_setup_scripts and download setup scripts. Ensure you have internet access and run this script again."
else
pushd "${BOOT_DIR}/teslausb_script_scripts"