From: florian Date: Fri, 13 Jul 2007 14:20:40 +0000 (+0000) Subject: Package update-usbids.sh so that the list can be updated X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=ebf04c8061987e436bee52d3f525f9a7094137f0;p=packages.git Package update-usbids.sh so that the list can be updated git-svn-id: svn://svn.openwrt.org/openwrt/packages@7969 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/usbutils/Makefile b/utils/usbutils/Makefile index f247c2b0d..5da32eee1 100644 --- a/utils/usbutils/Makefile +++ b/utils/usbutils/Makefile @@ -30,6 +30,11 @@ define Package/usbutils URL:=http://linux-usb.sourceforge.net/ endef +define Package/usbutils/postinst +#!/bin/sh +$${IPKG_INSTROOT}/usr/sbin/update-usbids.sh +endef + # uses GNU configure define Build/Compile @@ -41,6 +46,7 @@ endef define Package/usbutils/install $(INSTALL_DIR) $(1)/usr/sbin $(CP) $(PKG_INSTALL_DIR)/usr/sbin/lsusb $(1)/usr/sbin/ + $(CP) $(PKG_BUILD_DIR)/update-usbids.sh $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/usr/share $(CP) $(PKG_INSTALL_DIR)/usr/share/usb.ids $(1)/usr/share/ endef