Deleted Added
full compact
main.c (24428) main.c (29574)
1#ifndef lint
1#ifndef lint
2static char *rcsid = "$Id: main.c,v 1.13 1997/02/22 16:09:18 peter Exp $";
2static char *rcsid = "$Id: main.c,v 1.14 1997/03/31 05:10:45 imp Exp $";
3#endif
4
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

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

128 }
129 }
130 }
131 /* If no packages, yelp */
132 else if (!ch)
133 usage(prog_name, "Missing package name(s)");
134 else if (ch > 1 && AddMode == MASTER)
135 usage(prog_name, "Only one package name may be specified with master mode");
3#endif
4
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

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

128 }
129 }
130 }
131 /* If no packages, yelp */
132 else if (!ch)
133 usage(prog_name, "Missing package name(s)");
134 else if (ch > 1 && AddMode == MASTER)
135 usage(prog_name, "Only one package name may be specified with master mode");
136 if ((err = pkg_perform(pkgs)) != NULL) {
136 if ((err = pkg_perform(pkgs)) != 0) {
137 if (Verbose)
138 fprintf(stderr, "%d package addition(s) failed.\n", err);
139 return err;
140 }
141 else
142 return 0;
143}
144

--- 24 unchanged lines hidden ---
137 if (Verbose)
138 fprintf(stderr, "%d package addition(s) failed.\n", err);
139 return err;
140 }
141 else
142 return 0;
143}
144

--- 24 unchanged lines hidden ---