1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## hp-mkuri-take-into-account-already-installed-plugin-also-for-exit-value.dpatch by <till.kamppeter@gmail.com>
4
## All lines beginning with `## DP:' are a description of the patch.
8
diff -urNad hplip-3.10.2~/io/hpmud/hp-mkuri.c hplip-3.10.2/io/hpmud/hp-mkuri.c
9
--- hplip-3.10.2~/io/hpmud/hp-mkuri.c 2010-03-17 22:42:56.682033355 +0100
10
+++ hplip-3.10.2/io/hpmud/hp-mkuri.c 2010-03-17 22:45:36.370765292 +0100
15
- if (plugin == HPMUD_PLUGIN_TYPE_REQUIRED)
17
- else if (plugin == HPMUD_PLUGIN_TYPE_OPTIONAL)
20
+ if (!plugin_installed)
23
if (plugin == HPMUD_PLUGIN_TYPE_REQUIRED)
26
else if (plugin == HPMUD_PLUGIN_TYPE_OPTIONAL)
33
+ if (!plugin_installed)
35
+ if (plugin == HPMUD_PLUGIN_TYPE_REQUIRED)
37
+ else if (plugin == HPMUD_PLUGIN_TYPE_OPTIONAL)