Deleted Added
full compact
perform.c (67429) perform.c (67454)
1#ifndef lint
2static const char rcsid[] =
1#ifndef lint
2static const char rcsid[] =
3 "$FreeBSD: head/usr.sbin/pkg_install/create/perform.c 67429 2000-10-22 09:53:27Z jkh $";
3 "$FreeBSD: head/usr.sbin/pkg_install/create/perform.c 67454 2000-10-23 07:01:31Z sobomax $";
4#endif
5
6/*
7 * FreeBSD install - a package for the installation and maintainance
8 * of non-core utilities.
9 *
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions

--- 68 unchanged lines hidden (view full) ---

80 /* default is to compress packages */
81 compress = TRUE;
82 }
83 if (compress)
84 suf = "tgz";
85 else
86 suf = "tar";
87
4#endif
5
6/*
7 * FreeBSD install - a package for the installation and maintainance
8 * of non-core utilities.
9 *
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions

--- 68 unchanged lines hidden (view full) ---

80 /* default is to compress packages */
81 compress = TRUE;
82 }
83 if (compress)
84 suf = "tgz";
85 else
86 suf = "tar";
87
88 /* Add the origin if asked, at the top */
89 if (Origin)
90 add_plist(&plist, PLIST_COMMENT, strconcat("ORIGIN:", Origin));
91
88 /* Stick the dependencies, if any, at the top */
89 if (Pkgdeps) {
90 if (Verbose && !PlistOnly)
91 printf("Registering depends:");
92 while (Pkgdeps) {
93 cp = strsep(&Pkgdeps, " \t\n");
94 if (*cp) {
92 /* Stick the dependencies, if any, at the top */
93 if (Pkgdeps) {
94 if (Verbose && !PlistOnly)
95 printf("Registering depends:");
96 while (Pkgdeps) {
97 cp = strsep(&Pkgdeps, " \t\n");
98 if (*cp) {
95 add_plist(&plist, PLIST_PKGDEP, cp);
99 add_plist_top(&plist, PLIST_PKGDEP, cp);
96 if (Verbose && !PlistOnly)
97 printf(" %s", cp);
98 }
99 }
100 if (Verbose && !PlistOnly)
101 printf(".\n");
102 }
103

--- 242 unchanged lines hidden ---
100 if (Verbose && !PlistOnly)
101 printf(" %s", cp);
102 }
103 }
104 if (Verbose && !PlistOnly)
105 printf(".\n");
106 }
107

--- 242 unchanged lines hidden ---