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


version 1.2 version 1.3
Line 2
 
Line 2
   
 case "$1" in  case "$1" in
     install)      install)
      # do nothing  
       # create the 'crossfire' group if it doesn't exist
       grep ^crossfire: /etc/group >/dev/null || {
           /usr/sbin/groupadd crossfire > /dev/null 2>&1
       }
   
       # create 'crossfire' user if absent
       grep ^crossfire: /etc/passwd >/dev/null || {
           /usr/sbin/useradd -d /var/games/crossfire -s /bin/false -g crossfire crossfire
        }
   
       # check for 'crossfire' user and lock the passwd
       grep ^exim: /etc/passwd >/dev/null && {
         /usr/bin/passwd -l crossfire > /dev/null 2>&1
       }
      ;;       ;;
          
     upgrade)      upgrade)


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

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