summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Kępień <github@kempniu.pl>2016-11-18 22:15:08 +0100
committerJustin Bronder <jsbronder@gentoo.org>2016-11-19 11:33:12 -0500
commit7eba22a2f4682c7cf75543e40656be2994997b1d (patch)
tree2315b3da39de6eb87b0aae2b6c401d793bbdcfbe /net-nntp
parentQuote function arguments (diff)
downloadgentoo-7eba22a2f4682c7cf75543e40656be2994997b1d.tar.gz
gentoo-7eba22a2f4682c7cf75543e40656be2994997b1d.tar.bz2
gentoo-7eba22a2f4682c7cf75543e40656be2994997b1d.zip
Improve formatting of post-install messages
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/sabnzbd/sabnzbd-1.1.1.ebuild26
1 files 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 81351112247f..56abd105be67 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