diff options
Diffstat (limited to 'nonsystemd/brltty/brltty.install')
-rw-r--r-- | nonsystemd/brltty/brltty.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nonsystemd/brltty/brltty.install b/nonsystemd/brltty/brltty.install new file mode 100644 index 000000000..4dc023329 --- /dev/null +++ b/nonsystemd/brltty/brltty.install @@ -0,0 +1,12 @@ +post_install () { + [ ! -e /etc/brlapi.key ] && brltty-genkey + echo "Please add your user to the brlapi group." +} + +post_upgrade () { + post_install +} + +post_remove() { + [ -e /etc/brlapi.key ] && rm -v /etc/brlapi.key +} |