diff --git a/install.py b/install.py index 65253039..90c1c7fb 100755 --- a/install.py +++ b/install.py @@ -66,7 +66,7 @@ def apply_patch(patch_file, target_dir): patch_cmd = ['patch', '-p1', "--fuzz=0", "--no-backup-if-mismatch", '-i', patch_file, '-d', target_dir] subprocess.run(patch_cmd, check=True) except Exception as e: - print("apply_patch error!") + print(f"apply_patch error! patch: {patch_file}") return diff --git a/ohos-ppdfile-not-generated.patch b/ohos-ppdfile-not-generated.patch index f5ea40b4..98252f5c 100644 --- a/ohos-ppdfile-not-generated.patch +++ b/ohos-ppdfile-not-generated.patch @@ -1,7 +1,7 @@ -diff --git a/cups-2.4.0/scheduler/ipp.c b/cups-2.4.0/scheduler/ipp.c +diff --git a/scheduler/ipp.c b/scheduler/ipp.c index 5972b99..9d3cf35 100644 ---- a/cups-2.4.0/scheduler/ipp.c -+++ b/cups-2.4.0/scheduler/ipp.c +--- a/scheduler/ipp.c ++++ b/scheduler/ipp.c @@ -5325,7 +5325,8 @@ create_local_bg_thread( cupsdLogMessage(CUPSD_LOG_DEBUG, "%s: Get-Printer-Attributes returned %s (%s)", printer->name, ippErrorString(cupsLastError()), cupsLastErrorString());