summarylogtreecommitdiffstats
path: root/brltty-git.install
diff options
context:
space:
mode:
authorAlexander Epaneshnikov2020-10-16 01:25:21 +0300
committerAlexander Epaneshnikov2020-10-16 01:25:21 +0300
commit6ef455b15dec87c3aa50bae5a05174ddc8b13130 (patch)
treeec377e440dcc5b2db6c86740014fe65dfa03f4dd /brltty-git.install
parentcc1fa9c11e78948e0e9416442918c8a8ec76008e (diff)
downloadaur-6ef455b15dec87c3aa50bae5a05174ddc8b13130.tar.gz
update pkgbuild
* cleanup * enable initramfs support
Diffstat (limited to 'brltty-git.install')
-rw-r--r--brltty-git.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/brltty-git.install b/brltty-git.install
new file mode 100644
index 000000000000..2916ea2fd45b
--- /dev/null
+++ b/brltty-git.install
@@ -0,0 +1,12 @@
+post_install () {
+ brltty-genkey
+ echo "Please add your user to the brltty group."
+}
+
+post_upgrade () {
+ post_install
+}
+
+post_remove() {
+ [ -e /etc/brlapi.key ] && rm -v /etc/brlapi.key
+}