[Lunar-commits]
CVS: moonbase/x11-apps/openoffice-bin CONFIGURE, 1.2, 1.3
Terry Chan
tchan at lunar-linux.org
Mon Jan 12 23:59:15 GMT 2004
Update of /var/cvs/lunar/moonbase/x11-apps/openoffice-bin
In directory dbguin.lunar-linux.org:/tmp/cvs-serv18481
Modified Files:
CONFIGURE
Log Message:
Fixed the logic of the freetype2 test. grep -v means select lines NOT
matching the given string, and that is NOT what this test needs. Also if
the string is NOT found then we want the error message to print. So
if grep -qv string files ; print errormsg should really be:
if ! grep -q string files ; print errormsg
Index: CONFIGURE
===================================================================
RCS file: /var/cvs/lunar/moonbase/x11-apps/openoffice-bin/CONFIGURE,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CONFIGURE 12 Jan 2004 17:54:38 -0000 1.2
+++ CONFIGURE 12 Jan 2004 23:59:13 -0000 1.3
@@ -3,7 +3,7 @@
lin j2sdk
fi
fi
-if grep -qv "BYTECODE=y" /etc/lunar/local/depends/freetype2; then
+if ! grep -q "BYTECODE=y" /etc/lunar/local/depends/freetype2 ; then
message "${PROBLEM_COLOR}Warning: please lin -r -c freetype2 and answer yes to bytecode interpreter.${DEFAULT_COLOR}"
false #fail out because users dont see this if we install properly.
fi
More information about the Lunar-commits
mailing list