summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-04-30 17:13:02 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-04-30 17:13:02 (EDT)
commitd3bb18a3f7ac78beae7bf639f278e73eb1dd0dbb (patch)
treebdabe14fa7a25a39863560f18930b523fac0a087 /lib
parent47d0500675e87d4f3c63b14e52bfe730c1307ca7 (diff)
lib/index.sh: Add some verbose output.
Diffstat (limited to 'lib')
-rw-r--r--lib/index.sh8
1 files changed, 8 insertions, 0 deletions
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