Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.sbin/pkg_install/add Pull up revision 1.43 (request...



details:   https://anonhg.NetBSD.org/src/rev/d20e5d2fa6d6
branches:  netbsd-1-4
changeset: 470229:d20e5d2fa6d6
user:      he <he%NetBSD.org@localhost>
date:      Mon Jan 31 20:46:08 2000 +0000

description:
Pull up revision 1.43 (requested by hubertf):
  Also move the +SIZE file into place, if a package comes with one.

diffstat:

 usr.sbin/pkg_install/add/perform.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 21024c9f3535 -r d20e5d2fa6d6 usr.sbin/pkg_install/add/perform.c
--- a/usr.sbin/pkg_install/add/perform.c        Mon Jan 31 20:42:48 2000 +0000
+++ b/usr.sbin/pkg_install/add/perform.c        Mon Jan 31 20:46:08 2000 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: perform.c,v 1.29.2.5 1999/12/20 15:12:20 he Exp $      */
+/*     $NetBSD: perform.c,v 1.29.2.6 2000/01/31 20:46:08 he Exp $      */
 
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static const char *rcsid = "from FreeBSD Id: perform.c,v 1.44 1997/10/13 15:03:46 jkh Exp";
 #else
-__RCSID("$NetBSD: perform.c,v 1.29.2.5 1999/12/20 15:12:20 he Exp $");
+__RCSID("$NetBSD: perform.c,v 1.29.2.6 2000/01/31 20:46:08 he Exp $");
 #endif
 #endif
 
@@ -490,6 +490,10 @@
                        move_file(".", DEINSTALL_FNAME, LogDir);
                if (fexists(REQUIRE_FNAME))
                        move_file(".", REQUIRE_FNAME, LogDir);
+               if (fexists(SIZE_PKG_FNAME))
+                       move_file(".", SIZE_PKG_FNAME, LogDir);
+               if (fexists(SIZE_ALL_FNAME))
+                       move_file(".", SIZE_ALL_FNAME, LogDir);
                (void) snprintf(contents, sizeof(contents), "%s/%s", LogDir, CONTENTS_FNAME);
                cfile = fopen(contents, "w");
                if (!cfile) {



Home | Main Index | Thread Index | Old Index