Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 22359 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]
Updated patch
qpkg.patch.2 (text/plain), 1.06 KB, created by
Paul Varner (RETIRED)
on 2003-12-17 08:52:14 UTC
(
hide
)
Description:
Updated patch
Filename:
MIME Type:
Creator:
Paul Varner (RETIRED)
Created:
2003-12-17 08:52:14 UTC
Size:
1.06 KB
patch
obsolete
>--- qpkg.orig 2003-12-15 14:22:39.000000000 -0600 >+++ qpkg 2003-12-17 10:45:02.435356240 -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,14 +345,14 @@ > > # 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/" > n=${n/${usr_portage}/uuu } > n=${n/\/*\//\/} > >- d=${p%\/*.ebuild} # faster d=`dirname ${p}` >+ d=${p%:} # faster d=`dirname ${p}` > echo ${n} > > # if we have no passed parameters then
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