[Lunar-commits] r19132 - lunar/branches/stable/var/lib/lunar/functions

Auke Kok sofar at lunar-linux.org
Mon Mar 6 06:04:00 UTC 2006


Author: sofar
Date: 2006-03-06 06:03:56 +0000 (Mon, 06 Mar 2006)
New Revision: 19132

Modified:
   lunar/branches/stable/var/lib/lunar/functions/misc.lunar
Log:
add this to lunar too

Modified: lunar/branches/stable/var/lib/lunar/functions/misc.lunar
===================================================================
--- lunar/branches/stable/var/lib/lunar/functions/misc.lunar	2006-03-06 05:38:41 UTC (rev 19131)
+++ lunar/branches/stable/var/lib/lunar/functions/misc.lunar	2006-03-06 06:03:56 UTC (rev 19132)
@@ -149,7 +149,7 @@
 	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