Diff for /freem-mk-debian-package/debian/postinst between versions 1.4 and 1.5

version 1.4, 2025/04/03 01:57:17 version 1.5, 2025/04/04 02:47:52
Line 1 Line 1
 #!/usr/bin/bash  #!/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  fmadm configure
 systemctl enable --now freem  
   
 echo ""  echo ""
 echo "======================================================================"  echo "======================================================================"
 echo "FreeM has been installed."  echo "FreeM has been installed."
 echo ""  echo ""
 echo ""  echo ""
 echo "Any users who wish to use FreeM must be a member of the freem group.  "  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 "======================================================================"
 echo ""  echo ""
   
   #DEBHELPER#
   exit 0
   

Removed from v.1.4  
changed lines
  Added in v.1.5


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