commit:     7eba22a2f4682c7cf75543e40656be2994997b1d
Author:     Michał Kępień <github <AT> kempniu <DOT> pl>
AuthorDate: Fri Nov 18 21:15:08 2016 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Sat Nov 19 16:33:12 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eba22a2

Improve formatting of post-install messages

 net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild 
b/net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild
index 8135111..56abd10 100644
--- a/net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild
+++ b/net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild
@@ -108,21 +108,25 @@ src_install() {
 
 pkg_postinst() {
        einfo "Default directory: ${HOMEDIR}"
-       einfo ""
-       einfo "Run: gpasswd -a <user> sabnzbd"
-       einfo "to add a user to the sabnzbd group so it can edit sabnzbd files"
-       einfo ""
-       einfo "By default sabnzbd will listen on 127.0.0.1:8080"
-       einfo "As growl isn't default notification system on gentoo we disable 
it."
-       einfo "By default notifications are forwarded to the 23053 port(gntp)."
+       einfo
+       einfo "To add a user to the sabnzbd group so it can edit SABnzbd+ 
files, run:"
+       einfo
+       einfo "    gpasswd -a <user> sabnzbd"
+       einfo
+       einfo "By default, SABnzbd+ will listen on TCP port 8080."
+       einfo
+       einfo "As Growl is not the default notification system on Gentoo, we 
disable it."
+       einfo "By default, notifications are forwarded to TCP port 23053."
 
        local replacing
        for replacing in ${REPLACING_VERSIONS}; do
                if [ "$(get_major_version ${replacing})" == "0" ]; then
-                       echo
-                       ewarn "Upgrading from ${PN}-0.x.y to ${PN}-1.x.y 
introduces incompatible changes"
-                       ewarn "See http://wiki.sabnzbd.org/introducing-1-0-0.";
-                       ewarn "In particular, you need to let your queue 
complete before restarting ${PN}"
+                       ewarn
+                       ewarn "Upgrading from ${PN}-0.x.y to ${PN}-1.x.y 
introduces incompatible changes, see:"
+                       ewarn
+                       ewarn "    http://wiki.sabnzbd.org/introducing-1-0-0";
+                       ewarn
+                       ewarn "In particular, you need to let your queue 
complete before restarting SABnzbd+."
                        break
                fi
        done

Reply via email to