index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Levente Polyak <anthraxx@archlinux.org> | 2024-02-14 01:18:40 +0100 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2024-02-14 01:28:40 +0100 |
commit | 66a4357f3e001d02bbbb45fb247efaa2f505726d (patch) | |
tree | 5cd0a32f3edd5e2746e790454966a3bd14338c61 | |
parent | db2f82bf19a4eed48a4a315cd308c3c1747d0e73 (diff) |
-rw-r--r-- | src/lib/common.sh | 3 |
diff --git a/src/lib/common.sh b/src/lib/common.sh index 2d2d16f..ff767c6 100644 --- a/src/lib/common.sh +++ b/src/lib/common.sh @@ -31,6 +31,9 @@ export PACKAGING_REPO_RELEASE_HOST=repos.archlinux.org export PKGBASE_MAINTAINER_URL=https://archlinux.org/packages/pkgbase-maintainer export AUR_URL_SSH=aur@aur.archlinux.org +# ensure TERM is set with a fallback to dumb +export TERM=${TERM:-dumb} + # check if messages are to be printed using color if [[ -t 2 && "$TERM" != dumb ]] || [[ ${DEVTOOLS_COLOR} == always ]]; then colorize |