ensure script is executable

This commit is contained in:
gh2o 2014-07-13 21:30:56 -07:00
parent 2748e2279f
commit b04bb91f40
1 changed files with 3 additions and 0 deletions

View File

@ -330,6 +330,9 @@ installer_main() {
trap error_occurred ERR
trap exit_cleanup EXIT
log "Ensuring correct permissions ..."
chmod 0700 "${script_path}"
rm -rf /archroot/installer
mkdir -p /archroot/installer
cd /archroot/installer