From 71ed104bc7f066c08ff226a179a61c2be67f9dc0 Mon Sep 17 00:00:00 2001 From: theli Date: Thu, 12 Oct 2006 09:32:24 +0000 Subject: [PATCH] *) adding additional rpm mimetype (used by packman) git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2749 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/parser/rpm/rpmParser.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/de/anomic/plasma/parser/rpm/rpmParser.java b/source/de/anomic/plasma/parser/rpm/rpmParser.java index 90ee23222..e074748df 100644 --- a/source/de/anomic/plasma/parser/rpm/rpmParser.java +++ b/source/de/anomic/plasma/parser/rpm/rpmParser.java @@ -71,9 +71,10 @@ public class rpmParser extends AbstractParser implements Parser { * @see #getSupportedMimeTypes() */ public static final Hashtable SUPPORTED_MIME_TYPES = new Hashtable(); - static { + static { ttp://packman.inode.at/suse/10.1/setup/descr/packages SUPPORTED_MIME_TYPES.put("application/x-rpm","rpm"); - SUPPORTED_MIME_TYPES.put("application/x-redhat packet manager","rpm"); + SUPPORTED_MIME_TYPES.put("application/x-redhat packet manager","rpm"); + SUPPORTED_MIME_TYPES.put("application/x-redhat-package-manager","rpm"); } /**