updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / iscan-plugin-gt-f700 / gt-f700.install
blob90b710e7e1ffb4c2be7268157d189dcad3a2ad04
1 post_install() {
2   echo "Running iscan-registry to register plugins and firmware with iscan"
3   if [ -d /usr/lib64 ] ; then
4     iscan-registry -a interpreter usb 0x04b8 0x012f /usr/lib64/iscan/libesint68 /usr/share/iscan/esfw68.bin
5   else
6     iscan-registry -a interpreter usb 0x04b8 0x012f /usr/lib/iscan/libesint68 /usr/share/iscan/esfw68.bin
7   fi
10 pre_remove() {
11   echo "Unregistering gt-f700 plugins/firmware"
12   if [ -d /usr/lib64 ] ; then
13     iscan-registry -r interpreter usb 0x04b8 0x012f /usr/lib64/iscan/libesint68 /usr/share/iscan/esfw68.bin
14   else
15     iscan-registry -r interpreter usb 0x04b8 0x012f /usr/lib/iscan/libesint68 /usr/share/iscan/esfw68.bin
16   fi