From 8fec240ae660bc81a2c7f390c0358efbcb326f67 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Sat, 8 Mar 2014 02:34:51 -0300 Subject: [PATCH] Improve UI for package and clean scripts --- boxes/common/package.sh | 5 ++--- boxes/debian/clean.sh | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/boxes/common/package.sh b/boxes/common/package.sh index 7b75286..020280a 100755 --- a/boxes/common/package.sh +++ b/boxes/common/package.sh @@ -1,7 +1,6 @@ #!/bin/bash set -e -container_name=$1 -package=$2 +source common/ui.sh -echo " Will package '${container_name}' as '${package}'" +info "Packaging '${CONTAINER}' to '${PACKAGE}'..." diff --git a/boxes/debian/clean.sh b/boxes/debian/clean.sh index 1197c50..5d7e2ef 100755 --- a/boxes/debian/clean.sh +++ b/boxes/debian/clean.sh @@ -1,6 +1,6 @@ #!/bin/bash set -e -container_name=$1 +source common/ui.sh -echo " Will cleanup '${container_name}'" +info "Cleaning up '${CONTAINER}'..."