summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/cmd/remove.sh3
-rw-r--r--lib/remove.sh5
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/cmd/remove.sh b/lib/cmd/remove.sh
index a5dd1a0..30dffa6 100644
--- a/lib/cmd/remove.sh
+++ b/lib/cmd/remove.sh
@@ -17,8 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-use locale
-use output
use remove
cmd_remove_main()
@@ -36,7 +34,6 @@ cmd_remove_main()
chan="${conf_incoming_channel}"
fi
- info "$(get_msg 'cmd_remove_removing')" "${source}" "${chan}" "${dist}"
remove_source_from_suite "${chan}" "${dist}" "${source}"
fini
diff --git a/lib/remove.sh b/lib/remove.sh
index 25687b4..aecd6e7 100644
--- a/lib/remove.sh
+++ b/lib/remove.sh
@@ -20,6 +20,8 @@
[ "x${_REMOVE_SM+set}" = 'xset' ] && return 0
_REMOVE_SM=1
+use locale
+use output
use db
remove_source_from_suite()
@@ -30,6 +32,9 @@ remove_source_from_suite()
local arch=
local plat=
+ info "$(get_msg 'removing_from_suite')" \
+ "${source}" "${chan}" "${dist}"
+
while read -r arch plat; do
remove_packages_from_suite_archplat \
"${chan}" "${dist}" "${arch}" "${plat}" "${source}"