diff options
Diffstat (limited to 'libvitamtp.install')
-rw-r--r-- | libvitamtp.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libvitamtp.install b/libvitamtp.install new file mode 100644 index 0000000..a56bb33 --- /dev/null +++ b/libvitamtp.install @@ -0,0 +1,14 @@ +#!/bin/sh + +# arg 1: the new package version +post_install() { + getent group vitamtp >/dev/null 2>&1 || groupadd --system vitamtp &>/dev/null + + echo "NOTE: To use qcma as normal user you have to add yourself into vitamtp group" +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install "$1" +} |