summaryrefslogtreecommitdiffstats
path: root/lib/suite.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-04-30 17:16:41 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-04-30 17:16:41 (EDT)
commit103391af25be259721d647d7970f1d08737ff90a (patch)
treeba15fda889640f702076546f766b7da9e8b43ce2 /lib/suite.sh
parentd3bb18a3f7ac78beae7bf639f278e73eb1dd0dbb (diff)
Move suite-related messages.
Diffstat (limited to 'lib/suite.sh')
-rw-r--r--lib/suite.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/suite.sh b/lib/suite.sh
index 9a55809..4de39ef 100644
--- a/lib/suite.sh
+++ b/lib/suite.sh
@@ -23,6 +23,8 @@ _SUITE_SM=1
use db
use dir
use remove
+use locale
+use output
copy_suite()
{
@@ -31,6 +33,9 @@ copy_suite()
local dst_chan="${3}"
local dst_dist="${4}"
+ info "$(get_msg 'suite_copying')" \
+ "${src_chan}" "${src_dist}" "${dst_chan}" "${dst_dist}"
+
remove_suite "${dst_chan}" "${dst_dist}"
db_foreach_source "${src_chan}" "${src_dist}" _suite_copy_source \
@@ -42,6 +47,9 @@ remove_suite()
local chan="${1}"
local dist="${2}"
+ info "$(get_msg 'suite_removing')" \
+ "${chan}" "${dist}"
+
db_foreach_source "${chan}" "${dist}" _suite_remove_source
}