"""Check that the partition table is properly set up."""

import os, re, sys

df_output = os.popen('df').readlines()
cache_line = filter(re.compile('/usr/vice/cache\n').search, df_output)
if not cache_line:

    sys.stderr.write("""

    Are  you running  this  script  on a  system  you just  installed,
    following the  instructions in install.txt (in  the same directory
    as  this  script)?   DO  NOT  run  this  script  under  any  other
    circumstances.

""")

    sys.exit(1)

    
