summaryrefslogtreecommitdiffstats
path: root/scripts/library/output_format.sh
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-06-28 19:19:43 +0200
committerAllan McRae <allan@archlinux.org>2018-10-21 12:22:19 +0200
commitb5d62d2c91a2caf5c18945921cdf12af6f36b2d4 (patch)
tree9e127c1174be7a72de4b059c7128990782a5902d /scripts/library/output_format.sh
parent3561c872ca0980c76442fcbf3985cc92a8f572f7 (diff)
downloadpacman-b5d62d2c91a2caf5c18945921cdf12af6f36b2d4.tar.gz
pacman-b5d62d2c91a2caf5c18945921cdf12af6f36b2d4.tar.xz
Port scripts to use libmakepkg's messaging code.
Remove all remnants of library/{output_format,term_colors}.sh Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/library/output_format.sh')
-rw-r--r--scripts/library/output_format.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/scripts/library/output_format.sh b/scripts/library/output_format.sh
deleted file mode 100644
index 9f02c00b..00000000
--- a/scripts/library/output_format.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-plain() {
- (( QUIET )) && return
- local mesg=$1; shift
- printf "${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1
-}
-
-msg() {
- (( QUIET )) && return
- local mesg=$1; shift
- printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1
-}
-
-msg2() {
- (( QUIET )) && return
- local mesg=$1; shift
- printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1
-}
-
-ask() {
- local mesg=$1; shift
- printf "${BLUE}::${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&1
-}
-
-warning() {
- local mesg=$1; shift
- printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2
-}
-
-error() {
- local mesg=$1; shift
- printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2
-}