From 5c05f51cfa5fa6a5635a176cad4fbdeb7729248c Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Thu, 28 Oct 2004 14:53:05 +0000 Subject: [PATCH] - rpmquery 4.3.1 (what ships with FC2) seems to crash if too large of a queryformat is passed in. Just query "interesting" tags (whatever plc_www/Software/download.php wants). --- packages.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages.sh b/packages.sh index 7a097737..09849bd9 100755 --- a/packages.sh +++ b/packages.sh @@ -6,7 +6,7 @@ # Mark Huang # Copyright (C) 2004 The Trustees of Princeton University # -# $Id: packages.sh,v 1.2 2004/10/27 04:47:02 mlhuang Exp $ +# $Id: packages.sh,v 1.3 2004/10/27 19:38:36 mlhuang Exp $ # xml_escape_pcdata() { @@ -39,12 +39,13 @@ xml_escape_cdata() { -e 's/>/\>/g' } -# All supported tags -TAGS=$(rpm --querytags) +# XXX rpmquery version 4.3.1 crashes if too large of a queryformat is passed +#TAGS=$(rpm --querytags) +TAGS="NAME VERSION RELEASE URL BUILDTIME DESCRIPTION" cat < - + -- 2.47.0