mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gaetan Boismal
10.41.2015 647458098381de3d9cf67b6f3c8356367858ffc8
refs
author Gaetan Boismal <gaetan.boismal@forgerock.com>
Tuesday, November 10, 2015 16:41 +0100
committer Gaetan Boismal <gaetan.boismal@forgerock.com>
Tuesday, November 10, 2015 16:41 +0100
commit647458098381de3d9cf67b6f3c8356367858ffc8
tree 5223449a4f1e311829f92ce0c3ca0c1170ba2484 tree | zip | gz
parent e340bf25c9e346303fef4426efa366f37f3dc6e4 view | diff
OPENDJ-2177 Set man path in native packages

Set man path in DEB and RPM package.
Check if the man path directive is already present in the man config
file. If so, we do nothing, otherwise we add our opendj man pages path
(/opt/opendj/share/man).
Note that for this step is done at the end of the postinstall phase.
For the DEB script, we needed to remove the 'set -e'to allow grep to
return a non zero code.
Thats why we have enforced upgrade return code checks.
2 files modified
34 ■■■■ changed files
opendj-packages/opendj-deb/resources/control/postinst 26 ●●●● diff | view | raw | blame | history
opendj-packages/opendj-rpm/resources/specs/postinstall.sh 8 ●●●●● diff | view | raw | blame | history