aboutsummaryrefslogtreecommitdiff
path: root/system/sane-airscan/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/sane-airscan/doinst.sh')
-rw-r--r--system/sane-airscan/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/sane-airscan/doinst.sh b/system/sane-airscan/doinst.sh
new file mode 100644
index 000000000000..1b543f257704
--- /dev/null
+++ b/system/sane-airscan/doinst.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+if [ -d /usr/lib64/sane ]; then
+ cd /usr/lib64/sane
+ ln -vsf libsane-airscan.so.1 libsane-airscan.so
+else
+ cd /usr/lib/sane
+ ln -vsf libsane-airscan.so.1 libsane-airscan.so
+fi