From d3bb18a3f7ac78beae7bf639f278e73eb1dd0dbb Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pj@pehjota.net>
Date: Wed, 30 Apr 2014 17:13:02 -0400
Subject: lib/index.sh: Add some verbose output.

---
(limited to 'lib')

diff --git a/lib/index.sh b/lib/index.sh
index ad3826f..4c7289f 100644
--- a/lib/index.sh
+++ b/lib/index.sh
@@ -36,6 +36,9 @@ feed_add_package()
 	local feed_hash_idx=
 	local old_dir=
 
+	info_v "$(get_msg 'feed_adding')" "${pkg}" \
+		"${chan}" "${dist}" "${arch}" "${plat}" "${sect}"
+
 	pkg_hash="$(hash_name "${pkg}")"
 
 	# Add package metadata to feed hash index.
@@ -71,6 +74,9 @@ feed_remove_package()
 	local feed_hash_idx=
 	local old_dir=
 
+	info_v "$(get_msg 'feed_removing')" "${pkg}" \
+		"${chan}" "${dist}" "${arch}" "${plat}" "${sect}"
+
 	pkg_hash="$(hash_name "${pkg}")"
 
 	# Remove package metadata from feed hash index.
@@ -103,6 +109,8 @@ update_feeds()
 	local hash_dirent=
 	local idx=
 
+	info_v "$(get_msg 'updating_feeds')"
+
 	# For each suite:
 	for suite_dirent in "${base_dir}/feeds/.db/"*_*/; do
 		if [ ! -d "${suite_dirent}" ]; then
--
cgit v0.9.1