Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 314571 Details for
Bug 420111
app-portage/pfl - e-file: use portageq instead of emerge --info
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
e-file-portageq.patch
420111-portageq.patch (text/plain), 1.20 KB, created by
Jeroen Roovers (RETIRED)
on 2012-06-07 13:24:50 UTC
(
hide
)
Description:
e-file-portageq.patch
Filename:
MIME Type:
Creator:
Jeroen Roovers (RETIRED)
Created:
2012-06-07 13:24:50 UTC
Size:
1.20 KB
patch
obsolete
>--- a/e-file >+++ b/e-file >@@ -16,11 +16,11 @@ > exit 1 > fi > >-if type emerge >/dev/null 2>&1; then >+if type portageq >/dev/null 2>&1; then > isgentoo=1 > else > isgentoo=0 >- echo 'WARNING: "emerge" no found. If your system is not gentoo, a part of function will not available!' >&2 >+ echo 'WARNING: "portageq" no found. If your system is not gentoo, a part of function will not available!' >&2 > fi > > URL="http://www.portagefilelist.de/index.php/Special:PFLQuery2?file=$1&searchfile=lookup&lookup=file&txt" >@@ -29,8 +29,7 @@ > BEGIN{ > FOUND=0 > if(isgentoo){ >- "emerge --info | grep PORTDIR" | getline >- split($0,PORTDIR,/\"/) >+ "portageq envvar / PORTDIR" | getline PORTDIR > } > } > { >@@ -75,7 +74,7 @@ > } > > NF=0 >- cmd="(grep -h HOMEPAGE\\= " PORTDIR[2] "/" pkg "/*.ebuild | tail -n 1)2>/dev/null" >+ cmd="(grep -h HOMEPAGE\\= " PORTDIR "/" pkg "/*.ebuild | tail -n 1)2>/dev/null" > cmd | getline > if(NF==0){ > HOMEPAGE="" >@@ -85,7 +84,7 @@ > } > > NF=0 >- cmd="(grep -h DESCRIPTION " PORTDIR[2] "/" pkg "/*.ebuild | tail -n 1)2>/dev/null" >+ cmd="(grep -h DESCRIPTION " PORTDIR "/" pkg "/*.ebuild | tail -n 1)2>/dev/null" > cmd | getline > if(NF==0){ > DESCRIPTION=""
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 420111
: 314571