FreeBSD Bugzilla – Attachment 29337 Details for
Bug 49017
'make deinstall' doesn't deinstall old version of ports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
deinstall_origin.patch
deinstall_origin.patch (text/plain), 771 bytes, created by
Sergey Matveychuk
on 2003-03-15 23:14:23 UTC
(
hide
)
Description:
deinstall_origin.patch
Filename:
MIME Type:
Creator:
Sergey Matveychuk
Created:
2003-03-15 23:14:23 UTC
Size:
771 bytes
patch
obsolete
>--- bsd.port.mk.1.442 Sun Mar 16 00:33:00 2003 >+++ bsd.port.mk Sun Mar 16 02:01:42 2003 >@@ -3186,11 +3186,13 @@ > > .if !target(deinstall) > deinstall: >- @${ECHO_MSG} "===> Deinstalling for ${PKGNAME}" >- @if ${PKG_INFO} -e ${PKGNAME}; then \ >- ${PKG_DELETE} -f ${PKGNAME}; \ >+ @deinstall_name=`${PKG_INFO} -q -O ${PKGORIGIN} 2> /dev/null`; \ >+ ${TEST} -z $${deinstall_name} && deinstall_name=${PKGNAME}; \ >+ ${ECHO_MSG} "===> Deinstalling for ${PKGORIGIN} ($${deinstall_name})"; \ >+ if ${PKG_INFO} -e $${deinstall_name}; then \ >+ ${PKG_DELETE} -f $${deinstall_name}; \ > else \ >- ${ECHO_MSG} "===> ${PKGNAME} not installed, skipping"; \ >+ ${ECHO_MSG} "===> ${PKGORIGIN} not installed, skipping"; \ > fi > @${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE} > .endif
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 49017
:
29336
| 29337