diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/fdp-functions | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/fdp-functions b/bin/fdp-functions index 09ab50a..836c339 100644 --- a/bin/fdp-functions +++ b/bin/fdp-functions @@ -80,3 +80,7 @@ iso2date() { get_latest_revision() { version $@ } + +validate_rpm_info() { + xmllint --noout --valid ${RPMINFO} && echo ${RPMINFO} OK +} |