aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/man-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/man-inst.xml')
-rw-r--r--chapter06/man-inst.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/chapter06/man-inst.xml b/chapter06/man-inst.xml
index 0c72b3787..acd96c4a2 100644
--- a/chapter06/man-inst.xml
+++ b/chapter06/man-inst.xml
@@ -7,8 +7,9 @@
    ./configure -default -confdir=/etc &&
make &&
cp src/man.conf{,.backup} &&
-sed '/^PAGER/s/-is/-isR/' \
-    src/man.conf.backup > src/man.conf &&
+sed -e '/^PAGER/s/-is/-isR/' \
+    -e 's%MANPATH[[:space:]]/usr/man%#MANPATH /usr/man%' \
+    src/man.conf.backup > src/man.conf &&
make install</userinput></screen></para>
<para>Note: If you wish to disable SGR escape sequences, you should