[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
docs-common/bin fdp-functions,1.4,1.5
- From: "Tommy Reynolds" (jtr) <fedora-docs-commits redhat com>
- To: fedora-docs-commits redhat com
- Subject: docs-common/bin fdp-functions,1.4,1.5
- Date: Fri, 20 Jan 2006 12:36:44 -0500
Author: jtr
Update of /cvs/docs/docs-common/bin
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19227
Modified Files:
fdp-functions
Log Message:
Added "validate_rpm_info" function to "fdpsh" to validate the
"rpm-info.xml" file. Errors are displayed, or an "OK" token if
the validation succeeds.
Index: fdp-functions
===================================================================
RCS file: /cvs/docs/docs-common/bin/fdp-functions,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- fdp-functions 19 Jan 2006 14:48:34 -0000 1.4
+++ fdp-functions 20 Jan 2006 17:36:37 -0000 1.5
@@ -80,3 +80,7 @@
get_latest_revision() {
version $@
}
+
+validate_rpm_info() {
+ xmllint --noout --valid ${RPMINFO} && echo ${RPMINFO} OK
+}
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]