Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 22250 Details for
Bug 35863
pygtk 0.6.11 overwrites files from pygtk 2.0.0 when installed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
the patch saving the newer files upon removal of the older ones
pygtk-ebuild-patch-v2.patch (text/plain), 1.20 KB, created by
Felix Riemann
on 2003-12-15 11:02:43 UTC
(
hide
)
Description:
the patch saving the newer files upon removal of the older ones
Filename:
MIME Type:
Creator:
Felix Riemann
Created:
2003-12-15 11:02:43 UTC
Size:
1.20 KB
patch
obsolete
>*** oldpygtk 2003-12-15 15:58:11.000000000 +0100 >--- pygtk-0.6.11.ebuild 2003-12-15 19:29:38.000000000 +0100 >*************** >*** 24,26 **** >--- 24,66 ---- > ${D}/usr/lib/python2.*/site-packages/ > fi > } >+ >+ pkg_prerm() { >+ if has_version ">=dev-python/pygtk-1"; then >+ einfo "Preserving newer files..." >+ mkdir ${T}/uninsttmp >+ if [ -x /usr/lib/python2.2/site-packages/pygtk.py ] >+ then >+ mkdir ${T}/uninsttmp/2.2 >+ cp -v /usr/lib/python2.2/site-packages/pygtk.* \ >+ ${T}/uninsttmp/2.2/ >+ fi >+ if [ -x /usr/lib/python2.3/site-packages/pygtk.py ] >+ then >+ mkdir ${T}/uninsttmp/2.3 >+ cp -v /usr/lib/python2.3/site-packages/pygtk.* \ >+ ${T}/uninsttmp/2.3/ >+ fi >+ fi >+ } >+ >+ pkg_postrm() { >+ if has_version ">=dev-python/pygtk-1"; then >+ einfo "Restoring newer files..." >+ if [ -x ${T}/uninsttmp/pygtk.py ] >+ then >+ cp -v ${T}/uninsttmp/2.2/pygtk.* \ >+ /usr/lib/python2.2/site-packages/pygtk.* >+ rm ${T}/uninsttmp/2.2/* >+ rmdir ${T}/uninsttmp/2.2 >+ fi >+ if [ -x ${T}/uninsttmp/2.3/pygtk.py ] >+ then >+ cp -v ${T}/uninsttmp/2.3/pygtk.* \ >+ /usr/lib/python2.3/site-packages/pygtk.* >+ rm ${T}/uninsttmp/2.3/* >+ rmdir ${T}/uninsttmp/2.3 >+ fi >+ fi >+ } >+
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 35863
:
22243
|
22250
|
22280
|
22356
|
22907