Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 22263 Details for
Bug 35895
qpkg doesn't handle renamed packages correctly
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to list current package name
qpkg.patch (text/plain), 898 bytes, created by
Paul Varner (RETIRED)
on 2003-12-15 13:50:39 UTC
(
hide
)
Description:
Patch to list current package name
Filename:
MIME Type:
Creator:
Paul Varner (RETIRED)
Created:
2003-12-15 13:50:39 UTC
Size:
898 bytes
patch
obsolete
>--- qpkg.orig 2003-12-15 14:22:39.697943584 -0600 >+++ qpkg 2003-12-15 14:23:18.895984576 -0600 >@@ -304,17 +304,13 @@ > | xargs grep -l " ${arg}\( .*\)*$" \ > | xargs --no-run-if-empty -n 1 dirname` > fi >- ipak=`( >- for d in ${dirs} -;do >- [ "-" = "$d" ] && break >- ls ${d}/*.ebuild >- done)` >+ ipak=$dirs > else > # normal mode - list ebuilds for ebuild name containing <arg> > > # installed packages > if [ ! "${uninst}" ]; then >- ipak=`find /var/db/pkg/ -iname "*.ebuild" 2>/dev/null` >+ ipak=`ls /var/db/pkg/${group}/*` > if [[ ${group} != "*" ]]; then > ipak=`echo ${ipak}|sed -e "s: :\n:g"|grep ${group}` > fi >@@ -349,7 +345,7 @@ > > # cut common prefix from ebuild name and mark installed/uninstalled packages > # Note: iii/uuu will be replaced by the pipe at the end >- n=${p%.ebuild} >+ n=${p%:} > var_db_pkg="/var/db/pkg/" > n=${n/${var_db_pkg}/iii } > usr_portage="/usr/portage/"
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 35895
:
22263
|
22359
|
22376