Difference for debian/crossfire-server.preinst from version 1.3 to 1.4


version 1.3 version 1.4
Line 3
 
Line 3
 case "$1" in  case "$1" in
     install)      install)
   
   # Commented out until I can find the official policy on users for debian
   
     # create the 'crossfire' group if it doesn't exist      # create the 'crossfire' group if it doesn't exist
     grep ^crossfire: /etc/group >/dev/null || {  #    grep ^crossfire: /etc/group >/dev/null || {
         /usr/sbin/groupadd crossfire > /dev/null 2>&1  #        /usr/sbin/groupadd crossfire > /dev/null 2>&1
     }  #    }
   
     # create 'crossfire' user if absent      # create 'crossfire' user if absent
     grep ^crossfire: /etc/passwd >/dev/null || {  #    grep ^crossfire: /etc/passwd >/dev/null || {
         /usr/sbin/useradd -d /var/games/crossfire -s /bin/false -g crossfire crossfire  #        /usr/sbin/useradd -d /var/games/crossfire -s /bin/false -g crossfire crossfire
      }  #     }
   
     # check for 'crossfire' user and lock the passwd      # check for 'crossfire' user and lock the passwd
     grep ^exim: /etc/passwd >/dev/null && {  #    grep ^exim: /etc/passwd >/dev/null && {
       /usr/bin/passwd -l crossfire > /dev/null 2>&1  #      /usr/bin/passwd -l crossfire > /dev/null 2>&1
     }  #    }
      ;;       ;;
          
     upgrade)      upgrade)


Legend:
line(s) removed in v.1.3 
line(s) changed
 line(s) added in v.1.4

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:03