diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-10-14 16:27:48 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-10-14 16:27:48 +0000 |
commit | b67632400b5bb4681e37694ce883c540b96d0c3a (patch) | |
tree | 2e0a492c679c0d42ebec75b6d9dcb166bac9fa2f /packages | |
parent | 889938d282707b30fe7a8e0f195ea3e681e62f1d (diff) |
add an Installed-Size: field to the package so Ubuntu Software Center doesn't complain
svn path=/trunk/; revision=15598
Diffstat (limited to 'packages')
-rwxr-xr-x | packages/linux_make/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/linux_make/Makefile b/packages/linux_make/Makefile index d34ca7d6..f7372d0e 100755 --- a/packages/linux_make/Makefile +++ b/packages/linux_make/Makefile @@ -156,6 +156,8 @@ deb: $(bindir) # debian packaging test -d $(DESTDIR)/DEBIAN || mkdir -p $(DESTDIR)/DEBIAN cp $(packages_src)/linux_make/debian/control $(DESTDIR)/DEBIAN + echo -n "Installed-Size: " >> $(DESTDIR)/DEBIAN/control + du -sk $(DESTDIR) | sed 's|\(^[0-9][0-9]*\).*|\1|' >> $(DESTDIR)/DEBIAN/control install -p -m0755 $(packages_src)/linux_make/debian/pd-extended.prerm \ $(packages_src)/linux_make/debian/pd-extended.postrm \ $(packages_src)/linux_make/debian/pd-extended.postinst \ |