summaryrefslogtreecommitdiffstats
path: root/lib/suite.sh
diff options
context:
space:
mode:
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
}