From 19f08301e30c28f3130a171b631d4e7a540e1697 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 20 Aug 1996 15:39:58 +0100 Subject: dpkg (1.3.6) experimental; urgency=low (HIGH for new source format) * dpkg-source now has broken argument unparsing for tar. (Bug#4195.) * dpkg-gencontrol writes to debian/tmp/DEBIAN/control by default. * dpkg-shlibdeps script added. * Back to old sh update-rc.d, and removed manpage, because new Perl version and the manpage have different syntax and semantics. * update-rc.d prints usage message for missing terminal `.'. (Bug#4122.) * Use rm -rf instead of just rm -r in dpkg-deb --info &c. (Bug#4200.) * Added support for Installed-Size to dpkg-gencontrol, and documented. * Source packaging substitution variables and name syntax rationalised. * dpkg-source scripts' usage messages improved slightly. * dpkg-source works with non-empty second (orig dir) argument. * Added rationale for copyright policy to manual. * More developers' PGP keys. * Control database handling cleanups (usu. Source field blanked). -- Ian Jackson Tue, 20 Aug 1996 15:39:58 +0100 --- main/processarc.c | 2 ++ main/remove.c | 1 + 2 files changed, 3 insertions(+) (limited to 'main') diff --git a/main/processarc.c b/main/processarc.c index 8f77b542f..ca542793b 100644 --- a/main/processarc.c +++ b/main/processarc.c @@ -751,6 +751,7 @@ void process_archive(const char *filename) { pkg->installed.maintainer= pkg->available.maintainer; pkg->installed.source= pkg->available.source; pkg->installed.architecture= 0; /* This is irrelevant in the status file. */ + pkg->installed.installedsize= pkg->available.installedsize; pkg->installed.version= pkg->available.version; /* We have to generate our own conffiles structure. */ @@ -887,6 +888,7 @@ void process_archive(const char *filename) { otherpkg->installed.depends= 0; otherpkg->installed.essential= 0; otherpkg->installed.description= otherpkg->installed.maintainer= 0; + otherpkg->installed.installedsize= otherpkg->installed.source= 0; otherpkg->installed.conffiles= 0; blankversion(&otherpkg->installed.version); otherpkg->installed.arbs= 0; diff --git a/main/remove.c b/main/remove.c index 86bc81e31..993588d82 100644 --- a/main/remove.c +++ b/main/remove.c @@ -457,6 +457,7 @@ void removal_bulk(struct pkginfo *pkg) { pkg->installed.depends= 0; pkg->installed.essential= 0; pkg->installed.description= pkg->installed.maintainer= 0; + pkg->installed.source= pkg->installed.installedsize= 0; blankversion(&pkg->installed.version); pkg->installed.arbs= 0; } -- cgit v1.2.3