texhash                                                             &&

if [ "$A4_PAPER" = "y" ]; then
    echo  "\ExecuteOptions{a4paper}" > `kpsewhich geometry.cfg`
fi
