[Lunar-commits] <lunar> add this to lunar too

Auke Kok sofar at lunar-linux.org
Mon Jul 2 04:43:10 CEST 2012


commit e18866a7762be9fe633c0c8b8f03221615440f9b
Author: Auke Kok <sofar at lunar-linux.org>
Date:   Mon Mar 6 06:03:56 2006 +0000

    add this to lunar too
---
 var/lib/lunar/functions/misc.lunar |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/var/lib/lunar/functions/misc.lunar b/var/lib/lunar/functions/misc.lunar
index baa2ceb..9b73c3e 100644
--- a/var/lib/lunar/functions/misc.lunar
+++ b/var/lib/lunar/functions/misc.lunar
@@ -149,7 +149,7 @@ custom_filters()
 	if [[ "${COMPRESS_MANPAGES:=on}" == "on" ]]; then
 		while read FILE; do
 			if [[ -f "$FILE" ]] ; then
-				if echo "$FILE" | grep '^/usr/share/man/man' | grep -q -v '\.gz$'; then
+				if echo "$FILE" | grep '^/usr/share/man/.*\..$' | grep -q -v '\.gz$'; then
 					gzip -9 < "$FILE" > "$FILE.gz"
 					debug_msg "Compressing man page \"$FILE\""
 					rm -f "$FILE"


More information about the Lunar-commits mailing list