1 DLL_CONF="/etc/sane.d/dll.conf"
2 EPKOWA_CONF="/etc/sane.d/epkowa.conf"
3 #GIMP_PLUGIN_DIR="/usr/lib/gimp/2.0/plug-ins"
6 # enable the 'epkowa' backend
7 if grep -q "^[ \t]*\<epkowa\>" ${DLL_CONF}; then
8 echo "==> Please edit ${EPKOWA_CONF} to suit your needs."
10 echo "epkowa" >> ${DLL_CONF}
11 echo "==> A new entry 'epkowa' was added to ${DLL_CONF}"
12 echo "==> Please edit ${EPKOWA_CONF} to suit your needs."
15 # link iscan so it's seen as a GIMP plugin
16 # mkdir -p ${GIMP_PLUGIN_DIR}
17 # ln -s /usr/bin/iscan ${GIMP_PLUGIN_DIR}
18 # echo "==> Added iscan as a GIMP plugin."
20 echo "==> Add your user to 'scanner' group to use scanner/all-in-ones devices."
21 echo "==> For more info and help see 'man sane-epkowa', 'man sane-scsi' and 'man sane-usb'"
22 echo "==> Also see: https://wiki.archlinux.org/index.php/Sane"
26 sed -i 's/epkowa//g' ${DLL_CONF}
27 # rm -f ${GIMP_PLUGIN_DIR}/iscan
30 # vim:set ts=2 sw=2 et: