summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorSimon Rettberg2014-04-25 19:34:29 +0200
committerSimon Rettberg2014-04-25 19:34:29 +0200
commitc95f42a09016a54a2eeb1c1a029fce768b249a3f (patch)
treeb7d99d6b72d68676030e439c1cd16b8f5931b00a /remote
parent[vmchooser] always create spooldir for lpd in /tmp as jobs might get huge (co... (diff)
downloadtm-scripts-c95f42a09016a54a2eeb1c1a029fce768b249a3f.tar.gz
tm-scripts-c95f42a09016a54a2eeb1c1a029fce768b249a3f.tar.xz
tm-scripts-c95f42a09016a54a2eeb1c1a029fce768b249a3f.zip
[in-system-hack] Fix cupsfilters.convs file
Diffstat (limited to 'remote')
-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"
+