URI:
       tGet installed size right. - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 68e139f29357d530eb0b0eaf18a437f2dd77e5c9
   DIR parent 7c024ff2d8004a19c5664f54df5d459cb0dad068
  HTML Author: rsc <devnull@localhost>
       Date:   Tue, 13 Sep 2005 04:50:28 +0000
       
       Get installed size right.
       
       Diffstat:
         M dist/debian/mkpkg                   |      25 +++++++++++++------------
       
       1 file changed, 13 insertions(+), 12 deletions(-)
       ---
   DIR diff --git a/dist/debian/mkpkg b/dist/debian/mkpkg
       t@@ -48,18 +48,6 @@ for(i)@{
                deb=$package^_$date^_$arch.deb
                rm -rf $i $deb
                mkdir $i $i/DEBIAN
       -        {
       -                echo Package: $package
       -                echo Version: $date
       -                echo Architecture: $arch
       -                comma Depends: $depends
       -                comma Suggests: $suggests
       -                comma Conflicts: $conflicts
       -                echo Source: plan9port-src
       -                echo Installed-Size: $size
       -                echo Maintainer: 'Russ Cox <rsc@swtch.com>'
       -                echo Description: $desc
       -        } >$i/DEBIAN/control
                whatis grepfor
                awk -v'grepfor='$grepfor -v 'pkg='$i -v 'plan9='$TREE9 '
                BEGIN { print "grep for " grepfor >"/dev/stderr" }
       t@@ -73,6 +61,19 @@ for(i)@{
                        if($1 !~ /\/$/)
                                printf("cp ''%s'' ''%s''\n", plan9 "/" $1, pkg "/usr/local/plan9/" $1)
                }' $TREE9/dist/filelist | rc
       +        size=`{du -sk $i | awk '{print $1}'}
       +        {
       +                echo Package: $package
       +                echo Version: $date
       +                echo Architecture: $arch
       +                comma Depends: $depends
       +                comma Suggests: $suggests
       +                comma Conflicts: $conflicts
       +                echo Source: plan9port-src
       +                echo Installed-Size: $size
       +                echo Maintainer: 'Russ Cox <rsc@swtch.com>'
       +                echo Description: $desc
       +        } >$i/DEBIAN/control
                if(test -d $i/usr){
                        @{
                                cd $i