#!/bin/sh

EXTRARPMSDIR=`pwd`; export EXTRARPMSDIR;

cp -R ./aastex502 /usr/share/texmf/tex/latex

cp /usr/share/texmf/tex/latex/aastex502/aastex.cls /usr/share/texmf/tex/latex/misc

/usr/bin/texhash

cd $EXTRARPMSDIR

exit;
