opnsense-ports/misc/mc/files/patch-misc__ext.d__text.sh.in
Franco Fichtner a737ce6b05 */*: sync previously available, but unused ports
Taken from: FreeBSD
2015-04-22 06:45:04 +02:00

20 lines
776 B
Bash

--- misc/ext.d/text.sh.in.orig 2015-03-23 14:25:02 UTC
+++ misc/ext.d/text.sh.in
@@ -45,7 +45,7 @@ do_view_action() {
cat "${MC_EXT_FILENAME}"
;;
*)
- MANROFFOPT=-c MAN_KEEP_FORMATTING=1 man -P cat -l "${MC_EXT_FILENAME}"
+ MANROFFOPT=-c MAN_KEEP_FORMATTING=1 man -P cat "${MC_EXT_FILENAME}"
;;
esac
;;
@@ -66,7 +66,7 @@ do_view_action() {
*)
# "man" takes care of uncompressing.
# This way the stdin is left intact so the correct width is used.
- MANROFFOPT=-c MAN_KEEP_FORMATTING=1 man -P cat -l "${MC_EXT_FILENAME}"
+ MANROFFOPT=-c MAN_KEEP_FORMATTING=1 man -P cat "${MC_EXT_FILENAME}"
;;
esac
;;