[packages] usbutils: Fix updating of USB IDs list
[openwrt/svn-archive/archive.git] / utils / usbutils / Makefile
index 5922835a6145febe1ddb12771f75f17182b74a0d..4f2728991d56e2eac6054a653bffc94401ed06c6 100644 (file)
@@ -27,7 +27,7 @@ endef
 
 define Package/usbutils/postinst
 #!/bin/sh
-$${IPKG_INSTROOT}/usr/sbin/update-usbids.sh
+(cd $${IPKG_INSTROOT}/usr/share; $${IPKG_INSTROOT}/usr/sbin/update-usbids.sh)
 endef
 
 # uses GNU configure