summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xremote/onetime-fixes/cups-filterconf11
1 files changed, 11 insertions, 0 deletions
diff --git a/remote/onetime-fixes/cups-filterconf b/remote/onetime-fixes/cups-filterconf
new file mode 100755
index 00000000..f1cff1a9
--- /dev/null
+++ b/remote/onetime-fixes/cups-filterconf
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# On Ubuntu, for some reason the postscript filter config is commented out
+# in one of the cups configuration files, although all the required filter
+# packages were installed and working.
+# This didn't seem to be a problem before, but as of Ubuntu 14.04, without
+# this line you can't print postscript files.
+# So we just re-enable the lines again and everything works.
+
+sed -i 's,^#application/,application/,' "/usr/share/cups/mime/cupsfilters.convs"
+