summarylogtreecommitdiffstats
path: root/ricoh-spc260series-sane.install
diff options
context:
space:
mode:
Diffstat (limited to 'ricoh-spc260series-sane.install')
-rw-r--r--ricoh-spc260series-sane.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/ricoh-spc260series-sane.install b/ricoh-spc260series-sane.install
new file mode 100644
index 000000000000..121343113971
--- /dev/null
+++ b/ricoh-spc260series-sane.install
@@ -0,0 +1,14 @@
+backend_name=sp_c260series
+
+post_install() {
+ echo ${backend_name} >> /etc/sane.d/dll.conf
+}
+
+post_remove() {
+ sed -i /"${backend_name}"/d /etc/sane.d/dll.conf
+}
+
+post_upgrade() {
+ post_remove
+ post_install
+} \ No newline at end of file