[packages] pciutils: Fix updating of PCI IDs list, bump release number
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>
Thu, 13 Aug 2009 10:37:08 +0000 (10:37 +0000)
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>
Thu, 13 Aug 2009 10:37:08 +0000 (10:37 +0000)
SVN-Revision: 17240

utils/pciutils/Makefile

index a9e367fe39b5430320cbf98a717e9e6ec38cd499..fc89e634948868e573367438f885e4722fb2e693 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=pciutils
 PKG_VERSION:=3.1.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=@KERNEL/software/utils/pciutils \
@@ -32,7 +32,7 @@ endef
 
 define Package/pciutils/postinst
 #!/bin/sh
-$${IPKG_INSTROOT}/usr/sbin/update-pciids.sh
+(cd $${IPKG_INSTROOT}/usr/share; $${IPKG_INSTROOT}/usr/sbin/update-pciids.sh
 exit 0
 endef