#!/bin/bash # Halt on first error set -e echo -e "Cleanup is complete. Removing ${linux.installdir}..." rm -rf "${linux.installdir}" if [ $? -eq 0 ]; then echo -e "${bash.success}" fi echo -e "Finished.\n" exit 0