Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 21572 Details for
Bug 34778
detect obsolete profiles
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to detect and warn users about deprecated profiles
deprecated-profile.patch (text/plain), 829 bytes, created by
Marius Mauch (RETIRED)
on 2003-12-01 22:05:32 UTC
(
hide
)
Description:
patch to detect and warn users about deprecated profiles
Filename:
MIME Type:
Creator:
Marius Mauch (RETIRED)
Created:
2003-12-01 22:05:32 UTC
Size:
829 bytes
patch
obsolete
>Index: pym/portage.py >=================================================================== >RCS file: /home/cvsroot/gentoo-src/portage/pym/portage.py,v >retrieving revision 1.349 >diff -u -r1.349 portage.py >--- pym/portage.py 29 Nov 2003 22:03:21 -0000 1.349 >+++ pym/portage.py 2 Dec 2003 05:58:08 -0000 >@@ -5635,6 +5635,13 @@ > profiledir=None > if os.path.exists("/etc/make.profile/make.defaults"): > profiledir="/etc/make.profile" >+ if os.access("/etc/make.profile/deprecated", os.R_OK): >+ deprecatedfile = open("/etc/make.profile/deprecated", "r") >+ newprofile=deprecatedfile.read() >+ deprecatedfile.close() >+ writemsg(red("!!! Your current profile is deprecated and not supported anymore.\n")) >+ writemsg(red("!!! Please upgrade to the following profile if possible:\n")) >+ writemsg(8*" "+green(newprofile)+"\n") > > db={} >
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 34778
: 21572