diff options
| author | Ollivier Robert <roberto@FreeBSD.org> | 2001-03-04 17:38:38 +0000 |
|---|---|---|
| committer | Ollivier Robert <roberto@FreeBSD.org> | 2001-03-04 17:38:38 +0000 |
| commit | 12fd045a2c6f8eb618a603ac9a11c6274bc10bfc (patch) | |
| tree | 16d1da33302bd47c695941016c5d96920bd97354 | |
| parent | 993fc0a1039ed67e745f357640a7a22f8cbb7128 (diff) | |
Notes
| -rw-r--r-- | usr.sbin/pkg_install/delete/perform.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/pkg_install/delete/perform.c b/usr.sbin/pkg_install/delete/perform.c index 3453cf83237a..d5fe32a29d48 100644 --- a/usr.sbin/pkg_install/delete/perform.c +++ b/usr.sbin/pkg_install/delete/perform.c @@ -243,13 +243,12 @@ pkg_do(char *pkg) errx(2, __FUNCTION__ ": unable to return to working directory %s!", home); } - if (!Fake) { - /* Some packages aren't packed right, so we need to just ignore delete_package()'s status. Ugh! :-( */ - if (delete_package(FALSE, CleanDirs, &Plist) == FAIL) - warnx( + /* Some packages aren't packed right, so we need to just ignore + delete_package()'s status. Ugh! :-( */ + if (delete_package(FALSE, CleanDirs, &Plist) == FAIL) + warnx( "couldn't entirely delete package (perhaps the packing list is\n" "incorrectly specified?)"); - } if (chdir(LogDir) == FAIL) { warnx("unable to change directory to %s! deinstall failed", LogDir); |
