pushd "${installPath}" mudPath="${installPath}/tintin-stickmud/stickmud.tin" pushd "${mudPath%/*}" git pull | \ dialog --progressbox "Checking for updates, please wait..." -1 -1 if [[ -n "${COLORTERM}" ]]; then terminal_emulator "${mudPath%/*}" "tt++" "${mudPath##*/}" else tt++ ${mudPath##*/} fi