mirror of
https://github.com/munki/munki.git
synced 2026-04-28 16:29:29 -05:00
makecataogs: Adjusted warning text when items differing only by case are detected.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user