summarylogtreecommitdiffstats
path: root/iscan-plugin-gt-s650.install
blob: 00b63af4841d64634aebedbfd836e0eb5600a7f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
  echo "Registering iscan plugins and firmwares"
  for id in 0x013c 0x013d; do
    iscan-registry --add interpreter usb 0x04b8 $id \
      /usr/lib/iscan/libiscan-plugin-gt-s650 \
      /usr/share/iscan/esfw010c.bin
  done
}

pre_remove() {
  echo "Unregistering iscan plugins and firmwares"
  for id in 0x013c 0x013d; do
    iscan-registry --remove interpreter usb 0x04b8 $id \
      /usr/lib/iscan/libiscan-plugin-gt-s650
      /usr/share/iscan/esfw010c.bin
  done
}