summarylogtreecommitdiffstats
path: root/gt-x820.install
diff options
context:
space:
mode:
authormh00h2015-08-24 17:07:46 -0700
committermh00h2015-08-24 17:08:58 -0700
commit358f06a381f8873353c22b0fd92604e79c7b6bc6 (patch)
tree250121738bd3ea1de41a3785f109b2053ea27bc0 /gt-x820.install
downloadaur-358f06a381f8873353c22b0fd92604e79c7b6bc6.tar.gz
commit
Diffstat (limited to 'gt-x820.install')
-rw-r--r--gt-x820.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/gt-x820.install b/gt-x820.install
new file mode 100644
index 000000000000..a5f9f75f40b5
--- /dev/null
+++ b/gt-x820.install
@@ -0,0 +1,9 @@
+post_install() {
+ echo "Running iscan-registry to register plugins and firmware with iscan"
+ iscan-registry -a interpreter usb 0x04b8 0x013a /usr/lib/iscan/libesintA1 /usr/share/iscan/esfwA1.bin
+}
+
+pre_remove() {
+ echo "Unregistering gt-x820 plugins/firmware"
+ iscan-registry -r interpreter usb 0x04b8 0x013a /usr/lib/iscan/libesintA1 /usr/share/iscan/esfwA1.bin
+}