sys-cluster/torque: fix documentation URLs in postinst message
authorIan Stakenvicius <axs@gentoo.org>
Wed, 27 Feb 2019 17:22:26 +0000 (12:22 -0500)
committerIan Stakenvicius <axs@gentoo.org>
Thu, 7 Mar 2019 17:37:43 +0000 (12:37 -0500)
Closes: https://bugs.gentoo.org/666224
Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

sys-cluster/torque/torque-4.2.10-r1.ebuild
sys-cluster/torque/torque-6.0.3.ebuild

index 7c06eb30b27e150842ee40ba572b0d7d96eb334d..bf8705f64b418149806c1aa47ec94b8a60478ca7 100644 (file)
@@ -175,7 +175,7 @@ pkg_postinst() {
                showmessage=0;
                elog "If this is the first time torque has been installed, then you are not"
                elog "ready to start the server.  Please refer to the documentation located at:"
-               elog "http://docs.adaptivecomputing.com/torque/${PN//./-}/Content/topics/1-installConfig/initializeConfigOnServer.htm"
+               elog "http://docs.adaptivecomputing.com/torque/${PN//./-}/help.htm#topics/1-installConfig/initializeConfigOnServer.htm"
                elog
        else
                for i in ${REPLACING_VERSIONS} ; do
index ec9563e95bfacc755ef40fb37eea7942be073d85..7550814865238425ca2f3567de8d8e0d9f2302ea 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -165,15 +165,9 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-       elog "    If this is the first time torque has been installed, then you are not"
-       elog "ready to start the server.  Please refer to the documentation located at:"
-       elog "http://docs.adaptivecomputing.com/torque/${PN//./-}/Content/topics/1-installConfig/initializeConfigOnServer.htm"
-       if [[ -z "${REPLACING_VERSIONS}" ]] || [[ ${REPLACING_VERSIONS} < 4 ]]; then
-               echo
-               elog "Important 4.0+ updates"
-               elog "  - The on-wire protocol version has been changed."
-               elog "    Versions of Torque before 4.0.0 are no longer able to communicate."
-               elog "  - pbs_iff has been replaced by trqauthd, you will now need to add"
-               elog "    trqauthd to your default runlevel."
+        if [[ -z "${REPLACING_VERSIONS}" ]] ; then
+               elog "If this is the first time torque has been installed, then you are not"
+               elog "ready to start the server.  Please refer to the documentation located at:"
+               elog "http://docs.adaptivecomputing.com/torque/${PN//./-}/adminGuide/help.htm#topics/torque/1-installConfig/initializeConfigOnServer.htm"
        fi
 }