#!/bin/bash
  
DICT=/usr/share/dictd/gcide.dict.dz
  
# check that the generated dict:
#   - is a valid gzip file
#   - larger than 10 megabytes
gzip -dc $DICT > /dev/null && [ $(stat -c%s $DICT) -ge 10000000 ]
