summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-22 20:15:43 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-22 20:15:43 +0000
commit6f9d795d9c4475e214d57a822085009dba2444f9 (patch)
tree3766ac4efdbb8b9bddd4d668b12a53fe14de5409
parentx11-libs/vte installs Python module in site-packages directory. (diff)
downloadpython-updater-6f9d795d9c4475e214d57a822085009dba2444f9.tar.gz
python-updater-6f9d795d9c4475e214d57a822085009dba2444f9.tar.bz2
python-updater-6f9d795d9c4475e214d57a822085009dba2444f9.zip
Improve error message for missing PVR (bug #303037).
-rwxr-xr-xpython-updater2
1 files changed, 1 insertions, 1 deletions
diff --git a/python-updater b/python-updater
index 29b1913..15a321a 100755
--- a/python-updater
+++ b/python-updater
@@ -477,7 +477,7 @@ for content in $(find ${PKG_DBDIR}/ -name CONTENTS | sort); do
environment_file="${content/CONTENTS/environment.bz2}"
# Extract some variables. SUPPORT_PYTHON_ABIS, PYTHON_ABIS and PYTHON_REQUESTED_ACTIVE_VERSION are optional.
- get_vdb_variable PVR "${environment_file}" || die "PVR missing"
+ get_vdb_variable PVR "${environment_file}" || die "Missing metadata in '${environment_file}' file. Manually reinstall corresponding package."
get_vdb_variable SUPPORT_PYTHON_ABIS "${environment_file}"
get_vdb_variable PYTHON_ABIS "${environment_file}"
get_vdb_variable PYTHON_REQUESTED_ACTIVE_VERSION "${environment_file}"