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

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

84 *pkgs++ = *argv++;
85
86 /* If no packages, yelp */
87 if (pkgs == start)
88 usage(prog_name, "Missing package name(s)");
89 *pkgs = NULL;
90 if (!Fake && getuid() != 0)
91 errx(1, "You must be root to delete packages.");
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

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

84 *pkgs++ = *argv++;
85
86 /* If no packages, yelp */
87 if (pkgs == start)
88 usage(prog_name, "Missing package name(s)");
89 *pkgs = NULL;
90 if (!Fake && getuid() != 0)
91 errx(1, "You must be root to delete packages.");
92 if ((error = pkg_perform(start)) != NULL) {
92 if ((error = pkg_perform(start)) != 0) {
93 if (Verbose)
94 fprintf(stderr, "%d package deletion(s) failed.\n", error);
95 return error;
96 }
97 else
98 return 0;
99}
100

--- 23 unchanged lines hidden ---
93 if (Verbose)
94 fprintf(stderr, "%d package deletion(s) failed.\n", error);
95 return error;
96 }
97 else
98 return 0;
99}
100

--- 23 unchanged lines hidden ---