summaryrefslogtreecommitdiffstats
path: root/source/ap/gutenprint/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/gutenprint/doinst.sh')
-rw-r--r--source/ap/gutenprint/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/ap/gutenprint/doinst.sh b/source/ap/gutenprint/doinst.sh
new file mode 100644
index 000000000..aa0984207
--- /dev/null
+++ b/source/ap/gutenprint/doinst.sh
@@ -0,0 +1,5 @@
+# Only attempt this on a running system, otherwise we'll catch it
+# in post-install.
+if [ -x /usr/sbin/cups-genppdupdate ]; then
+ chroot . /usr/sbin/cups-genppdupdate 1> /dev/null 2> /dev/null
+fi