Difference for debian/crossfire-server.postrm from version 1.1 to 1.2


version 1.1 version 1.2
Line 38
 
Line 38
     fi      fi
     ;;      ;;
   
   remove|upgrade|disappear)    upgrade)
     # do nothing      # do nothing
     ;;       ;;
     remove|disappear)
         # remove the 'crossfire' user if it exists
         grep ^crossfire: /etc/passwd >/dev/null && {
             /usr/sbin/userdel crossfire > /dev/null 2>&1
         }
   
         # remove the 'crossfire' group if it exists
         grep ^crossfire: /etc/group >/dev/null || {
             /usr/sbin/groupdel crossfire > /dev/null 2>&1
         }
       ;;
   *)    *)
     echo "$0: incorrect arguments: $*" >&2      echo "$0: incorrect arguments: $*" >&2
     exit 1      exit 1


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

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