summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlambroisie2021-08-13 02:03:15 -0400
committerlambroisie2021-08-13 02:03:15 -0400
commitd357605123ac41c5c26189978e22162acf85ffcf (patch)
tree9b7ac2abe765f9c5bcf21743eb50f0d220e4bcb1
parentc2db8d6ba36e1a84e6e02b91f216712f69a01aec (diff)
downloadaur-brother-mfc-j497dw.tar.gz
Added post_install to create correct CUPS filter.
Thanks lordao! Signed-off-by: lambroisie <christinavitting@gmail.com>
-rw-r--r--brother-mfc-j497dw.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/brother-mfc-j497dw.install b/brother-mfc-j497dw.install
index 0d4a23db3be8..e7b0f3dc501f 100644
--- a/brother-mfc-j497dw.install
+++ b/brother-mfc-j497dw.install
@@ -1,4 +1,6 @@
post_install() {
+ rm /usr/lib/cups/filter/brother_lpdwrapper_mfcj497dw
+ ln -s /opt/brother/Printers/mfcj497dw/cupswrapper/brother_lpdwrapper_mfcj497dw /usr/lib/cups/filter/brother_lpdwrapper_mfcj497dw
post_upgrade;
}