1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/feedbackd/feedbackd.pre-install
2021-02-03 00:45:54 +00:00

21 lines
431 B
Bash

#!/bin/sh
# Create the feedbackd group if not existing
GROUP=feedbackd
if ! getent group $GROUP >/dev/null; then
addgroup -S $GROUP 2>/dev/null
fi
# Print note about the additional group
cat << __EOF__
*
* If you are switching between UIs on existing installations,
* make sure that you add your user to the feedbackd group.
* If the user isn't part of that group, the LED indicator won't be
* functional.
*
__EOF__
exit 0