]> git.ipfire.org Git - ipfire.org.git/commitdiff
hwdata: Fix paths on Debian
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Aug 2019 13:22:56 +0000 (14:22 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Aug 2019 13:22:56 +0000 (14:22 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/hwdata.py

index 24a31c988e0c0b2eea8e78f82b9fccf10888678d..afcf4e10edf456c5f2d9eb03125c584578dc7de6 100644 (file)
@@ -19,7 +19,7 @@
 
 class USB(object):
     """ Interace to usb.ids from hwdata package """
-    filename = '/usr/share/hwdata/usb.ids'
+    filename = '/usr/share/misc/usb.ids'
     devices = None
 
     def __init__(self, filename=None):
@@ -106,7 +106,7 @@ class USB(object):
 
 class PCI(object):
     """ Interace to pci.ids from hwdata package """
-    filename = '/usr/share/hwdata/pci.ids'
+    filename = '/usr/share/misc/pci.ids'
     devices = None
 
     def __init__(self, filename=None):