summaryrefslogtreecommitdiff
path: root/extra/libfprint/fprint.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libfprint/fprint.install')
-rw-r--r--extra/libfprint/fprint.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/libfprint/fprint.install b/extra/libfprint/fprint.install
new file mode 100644
index 000000000..111cb3661
--- /dev/null
+++ b/extra/libfprint/fprint.install
@@ -0,0 +1,19 @@
+# arg 1: the new package version
+post_install() {
+getent group scanner >/dev/null || usr/sbin/groupadd -g 96 scanner
+ /bin/cat <<THEEND
+NOTE
+----
+Add your user to group 'scanner' to use scanner devices.
+THEEND
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ post_install $1
+}
+
+op=$1
+shift
+$op $*