mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:46:16 +02:00
when building a package, make sure that older versions get removed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6303 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0753eb7920
commit
cd5ee7a7f4
@ -213,6 +213,7 @@ define BuildPackage
|
||||
$(eval $(call BuildIPKGVariable,$(1),prerm))
|
||||
$(eval $(call BuildIPKGVariable,$(1),postrm))
|
||||
$$(IDIR_$(1))/CONTROL/control: $(PKG_BUILD_DIR)/.version-$(1)_$(VERSION)_$(PKGARCH)
|
||||
@rm -f $(PACKAGE_DIR)/$(1)_*
|
||||
mkdir -p $$(IDIR_$(1))/CONTROL
|
||||
echo "Package: $(1)" > $$(IDIR_$(1))/CONTROL/control
|
||||
echo "Version: $(VERSION)" >> $$(IDIR_$(1))/CONTROL/control
|
||||
|
Loading…
Reference in New Issue
Block a user