Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 220149 Details for
Bug 303037
app-admin/python-updater-0.8: Improve error message for missing PVR
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch for /sbin/python-updater listing all missing PVR variables
python-updater.patch (text/plain), 1.26 KB, created by
Bernd Feige
on 2010-02-18 13:26:33 UTC
(
hide
)
Description:
Patch for /sbin/python-updater listing all missing PVR variables
Filename:
MIME Type:
Creator:
Bernd Feige
Created:
2010-02-18 13:26:33 UTC
Size:
1.26 KB
patch
obsolete
>=== modified file 'python-updater' >--- python-updater 2010-02-18 12:25:28 +0000 >+++ python-updater 2010-02-18 13:23:45 +0000 >@@ -456,11 +456,16 @@ > > # Iterate through the contents of all the installed packages. > # ${PKG_DBDIR} must be followed by '/' to avoid problems when ${PKG_DBDIR} is a symlink. >+PVR_missing="" > for content in $(find ${PKG_DBDIR}/ -name CONTENTS | sort); do > environment_file="${content/CONTENTS/environment.bz2}" > > # Extract some variables. PYTHON_ABIS and PYTHON_REQUESTED_ACTIVE_VERSION are optional. >- get_vdb_variable PVR "${environment_file}" || die "PVR missing" >+ # If any PVR variable is missing, keep collecting missing PVRs and report them together below >+ get_vdb_variable PVR "${environment_file}" || PVR_missing="${PVR_missing} ${environment_file}" >+ if [ "${PVR_missing}" != "" ]; then >+ continue >+ fi > get_vdb_variable PYTHON_ABIS "${environment_file}" > get_vdb_variable PYTHON_REQUESTED_ACTIVE_VERSION "${environment_file}" > >@@ -634,6 +639,10 @@ > fi > done > >+if [ "${PVR_missing}" != "" ]; then >+ die "Error: PVR missing in ${PVR_missing}. Please re-emerge the corresponding packages." >+fi >+ > # Pipe to command if we have one > if [[ -n "${PIPE_COMMAND}" ]]; then > echo "${PKGS_TO_REMERGE}" | ${PIPE_COMMAND} >
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 Raw
Actions:
View
Attachments on
bug 303037
:
218197
| 220149