makecataogs: Adjusted warning text when items differing only by case are detected.

This commit is contained in:
Greg Neagle
2017-04-07 11:16:23 -07:00
parent 15fb5c56c5
commit 365c739949
+8 -6
View File
@@ -182,9 +182,10 @@ def makecatalogs(repo, options):
if installeritempath.lower() == repo_pkg.lower():
errors.append(
"WARNING: %s refers to installer item: %s. "
"The item in the repo has different case: %s. "
"This may cause issues depending on the case-"
"sensitivity of the underlying filesystem."
"The pathname of the item in the repo has "
"different case: %s. This may cause issues "
"depending on the case-sensitivity of the "
"underlying filesystem."
% (pkginfo_ref,
pkginfo['installer_item_location'], repo_pkg))
found_caseinsensitive_match = True
@@ -230,9 +231,10 @@ def makecatalogs(repo, options):
if uninstalleritempath.lower() == repo_pkg.lower():
errors.append(
"WARNING: %s refers to uninstaller item: %s. "
"The item in the repo has different case: %s. "
"This may cause issues depending on the case-"
"sensitivity of the underlying filesystem."
"The pathname of the item in the repo has "
"different case: %s. This may cause issues "
"depending on the case-sensitivity of the "
"underlying filesystem."
% (pkginfo_ref,
pkginfo['uninstaller_item_location'], repo_pkg))
found_caseinsensitive_match = True