File:  [Coherent Logic Development] / freem-mk-debian-package / debian / postinst
Revision 1.5: download - view: text, annotated - select for diffs
Fri Apr 4 02:47:52 2025 UTC (18 hours, 53 minutes ago) by snw
Branches: MAIN
CVS tags: HEAD
Prepare build scripts for 0.63.0

#!/bin/bash
. /usr/share/debconf/confmodule

db_get freem/users_for_group
for FREEM_USER in $RET
do
    echo "Adding ${FREEM_USER} to group 'freem'..."
    usermod -aG freem ${FREEM_USER}
done

fmadm configure

echo ""
echo "======================================================================"
echo "FreeM has been installed."
echo ""
echo ""
echo "The following users will have access to FreeM:"
echo " ${RET}"
echo ""
echo "NOTE: If the above users are currently logged in, they must log out"
echo "      and log back in before FreeM will run."
echo ""
echo "To add additional users, run 'dpkg-reconfigure freem'."
echo "======================================================================"
echo ""

#DEBHELPER#
exit 0


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>