From 3d85c8669c758af039f9b1ce8c8477312e203527 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 2 May 2013 22:45:46 -0400 Subject: chcleanup: msg is used too --- src/chroot-tools/chcleanup | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/chroot-tools/chcleanup b/src/chroot-tools/chcleanup index 09e3355..f957d3b 100755 --- a/src/chroot-tools/chcleanup +++ b/src/chroot-tools/chcleanup @@ -12,6 +12,11 @@ DRYRUN=${DRYRUN:-false} ################################################################################ # Define these here to avoid having dependencies on outside files +msg() { + local mesg=$1; shift + printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 +} + msg2() { local mesg=$1; shift printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -- cgit v1.1-4-g5e80