summarylogtreecommitdiffstats
path: root/cnijfilter-mp560.install
diff options
context:
space:
mode:
Diffstat (limited to 'cnijfilter-mp560.install')
-rw-r--r--cnijfilter-mp560.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/cnijfilter-mp560.install b/cnijfilter-mp560.install
new file mode 100644
index 000000000000..8ca70aa8749d
--- /dev/null
+++ b/cnijfilter-mp560.install
@@ -0,0 +1,19 @@
+post_install() {
+ ln -s /usr/lib/cups/filter/pstocanonijmp560 /usr/lib/cups/filter/pstocanonij
+
+ if [ -x /sbin/ldconfig ]; then
+ /sbin/ldconfig
+ fi
+}
+post_upgrade() {
+ if [ -x /sbin/ldconfig ]; then
+ /sbin/ldconfig
+ fi
+}
+post_remove() {
+ rm /usr/lib/cups/filter/pstocanonij
+
+ if [ -x /sbin/ldconfig ]; then
+ /sbin/ldconfig
+ fi
+}