[packages] {pciutils,usbutils}: save space when installing pciutils and usbutils v1 (thanks Peter Wagner)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26633 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e9106c90a6
commit
86f04bd9fc
@ -34,7 +34,7 @@ endef
|
||||
|
||||
define Package/pciutils/postinst
|
||||
#!/bin/sh
|
||||
(cd $${PKG_ROOT}/usr/share; $${PKG_ROOT}/usr/sbin/update-pciids)
|
||||
(cd $${PKG_ROOT}/usr/share; $${PKG_ROOT}/usr/sbin/update-pciids; rm pci.ids.gz.old)
|
||||
exit 0
|
||||
endef
|
||||
|
||||
|
@ -29,7 +29,7 @@ endef
|
||||
|
||||
define Package/usbutils/postinst
|
||||
#!/bin/sh
|
||||
(cd $${IPKG_INSTROOT}/usr/share; $${PKG_ROOT}/usr/sbin/update-usbids.sh)
|
||||
(cd $${IPKG_INSTROOT}/usr/share; $${PKG_ROOT}/usr/sbin/update-usbids.sh ; rm usb.ids.gz.old)
|
||||
exit 0
|
||||
endef
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user