post_upgrade() {
  # fix gshadow
  if [ "$(grpck -r)" ]; then
     echo "Fixing gshadow file ..."
     while :; do echo "y"; done | grpck
  fi
}

op=$1
shift
$op $*