diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-08-18 17:40:12 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-08-18 17:40:12 (EDT) |
commit | aa385dd34aebe6bc41acb8b17778391aca4f1863 (patch) | |
tree | 1a2ef013e5868a475ba168b79110619db748b05b | |
parent | 6c2f0921fb023a02b143bcf81487b89890c539d0 (diff) |
install: Add some info messages
-rw-r--r-- | lib/cmd/install.sh | 4 | ||||
-rw-r--r-- | locale/en_US.sh | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lib/cmd/install.sh b/lib/cmd/install.sh index ef955c6..3e8119a 100644 --- a/lib/cmd/install.sh +++ b/lib/cmd/install.sh @@ -66,6 +66,8 @@ cmd_install_main() error 2 "$(get_msg 'cmd_install_bad_archplat')" \ "${arch}" "${plat}" fi + info "$(get_msg 'cmd_install_selected_arch')" "${arch}" + info "$(get_msg 'cmd_install_selected_plat')" "${plat}" if [ "x${cmd_install_opt_m+set}" = 'xset' ]; then mirror="${cmd_install_opt_m}" @@ -74,6 +76,7 @@ cmd_install_main() fi info "$(get_msg 'cmd_install_selected_mirror')" "${mirror}" + info "$(get_msg 'cmd_install_setting_up_chroot')" if [ -d "${chroot}" ]; then error 2 "$(get_msg 'cmd_install_chroot_dir_exists')" "${chroot}" fi @@ -81,6 +84,7 @@ cmd_install_main() error 2 "$(get_msg 'cmd_install_mkdir_chroot_fail')" "${chroot}" fi + info "$(get_msg 'cmd_install_find_pkgs')" cmd_install_find_pkgs "${mirror}" "${suite}" "${arch}" "${plat}" \ "${chroot}" } diff --git a/locale/en_US.sh b/locale/en_US.sh index 3e07a90..b0362c3 100644 --- a/locale/en_US.sh +++ b/locale/en_US.sh @@ -60,9 +60,13 @@ msg_prokit_cmd_install_usage='[-a <arch>] [-P <plat>] [-m <mirror>] '\ '<suite> <chroot>' msg_prokit_cmd_install_bad_archplat='Invalid combination of architecture "%s" '\ 'and platform "%s"' +msg_prokit_cmd_install_selected_arch='Using architecture %s' +msg_prokit_cmd_install_selected_plat='Using platform %s' +msg_prokit_cmd_install_selected_mirror='Using mirror %s' +msg_prokit_cmd_install_setting_up_chroot='Setting up root...' msg_prokit_cmd_install_chroot_dir_exists='Directory "%s" exists"' msg_prokit_cmd_install_mkdir_chroot_fail='Failed to create directory "%s"' -msg_prokit_cmd_install_selected_mirror='Using mirror %s' +msg_prokit_cmd_install_find_pkgs='Retrieving Packages files...' # lib/profile.sh msg_prokit_profile_not_found='Profile "%s" not found' |