mudPath="${installPath}/tintin-endoftime/eot.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%/*}" "${mudPath##*/}" fi