FreeBSD Bugzilla – Attachment 13049 Details for
Bug 24971
pkg_delete -n should call delete_package()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 813 bytes, created by
quinot
on 2001-02-09 17:20:07 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
quinot
Created:
2001-02-09 17:20:07 UTC
Size:
813 bytes
patch
obsolete
>--- /usr/src/usr.sbin/pkg_install/delete/perform.c Sun Oct 22 11:53:25 2000 >+++ perform.c Fri Feb 9 17:49:44 2001 >@@ -172,13 +172,12 @@ > 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);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 24971
: 13049