index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-06-28 13:19:43 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-10-21 20:22:19 +1000 |
commit | b5d62d2c91a2caf5c18945921cdf12af6f36b2d4 (patch) | |
tree | 9e127c1174be7a72de4b059c7128990782a5902d /scripts/library/output_format.sh | |
parent | 3561c872ca0980c76442fcbf3985cc92a8f572f7 (diff) |
-rw-r--r-- | scripts/library/output_format.sh | 32 |
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 -} |