Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 20107 Details for
Bug 32543
PATCH: speedup for "qpkg -g foo"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
the proposed speedup patch
qpkg-fast_on_groups.diff (text/plain), 1.08 KB, created by
Hans Meine
on 2003-11-02 06:32:01 UTC
(
hide
)
Description:
the proposed speedup patch
Filename:
MIME Type:
Creator:
Hans Meine
Created:
2003-11-02 06:32:01 UTC
Size:
1.08 KB
patch
obsolete
>--- /usr/bin/qpkg 2003-10-30 09:39:47.000000000 +0100 >+++ /home/hans/bin/qpkg 2003-11-02 15:01:43.000000000 +0100 >@@ -315,7 +315,8 @@ > # installed packages > if [ ! "${uninst}" ]; then >- ipak=`find /var/db/pkg/ -iname "*.ebuild" 2>/dev/null` > if [[ ${group} != "*" ]]; then >- ipak=`echo ${ipak}|sed -e "s: :\n:g"|grep ${group}` >+ ipak=`for gdir in /var/db/pkg/${group}; do find "$gdir" -iname "*.ebuild" 2>/dev/null; done` >+ else >+ ipak=`find /var/db/pkg/ -iname "*.ebuild" 2>/dev/null` > fi > if [ ${arg} ]; then >@@ -330,5 +331,11 @@ > # not installed packages (yet:-) > if [ ! "${inst}" ]; then >- upak=`find /usr/portage/ -iname "*.ebuild" 2>/dev/null|grep -v --regex="/usr/portage/[^/]*\.ebuild"` >+ if [[ ${group} != "*" ]]; then >+ upak=`for gdir in /usr/portage/${group}; do find "$gdir" -iname "*.ebuild" 2>/dev/null; done` >+ else >+ upak=`find /usr/portage/ -iname "*.ebuild" 2>/dev/null` >+ fi >+ upak=`echo ${upak}|sed -e "s: :\n:g"|grep -v --regex="/usr/portage/[^/]*\.ebuild"` >+ > if [[ ${group} != "*" ]]; then > upak=`echo ${upak}|sed -e "s: :\n:g"|grep ${group}`
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 32543
: 20107 |
22623