summaryrefslogtreecommitdiffstats
path: root/remote/onetime-fixes/cups-filterconf
blob: f1cff1a929d762dddeb44535fc612664e1c584c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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"