summarylogtreecommitdiffstats
path: root/gt-s600.install
blob: 11f494c51aa6033bb56e0dca4a27537e432c8ec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
	echo "Running iscan-registry to register plugins and firmware with iscan"
	iscan-registry -a interpreter usb 0x04b8 0x012d \
		/usr/lib/iscan/libesint66 /usr/share/iscan/esfw66.bin
    echo -e "\nIf your device is not detected, ensure you have 'epkowa' in /etc/sane.d/dll.conf and check udevadm permissions"
}

post_upgrade() {
    echo "If your device is not detected, ensure you have 'epkowa' in /etc/sane.d/dll.conf and check udevadm permissions"
}

pre_remove() {
	echo "Unregistering gt-s600 plugins/firmware"
	iscan-registry -r interpreter usb 0x04b8 0x012d \
		/usr/lib/iscan/libesint66 /usr/share/iscan/esfw66.bin
}