Commit 03751b9b authored by Aaron Wells's avatar Aaron Wells

Merge commit 'refs/merge-requests/1' of...

Merge commit 'refs/merge-requests/1' of git://gitorious.org/mahara/manual-packaging into merge-requests/1
parents de6e2281 f3a0a4c6
......@@ -4,9 +4,14 @@ set -e
PACKAGE=`basename $0 .postinst`
db_get maharadocs/installdir
cd $RET
git pull
make -C $RET update html epub latexpdf MAHARA=1.4
make -C $RET update html epub latexpdf MAHARA=1.5
make -C $RET update html epub latexpdf MAHARA=1.6
make -C $RET update html epub latexpdf MAHARA=1.7
INSTALLDIR=$RET
db_get maharadocs/logdir
LOGDIR=$RET
LOGFILE=${LOGDIR}/update.log
cd $INSTALLDIR
git pull >> $LOGFILE
make -C $INSTALLDIR update html epub latexpdf MAHARA=1.4 >> $LOGFILE 2>&1
make -C $INSTALLDIR update html epub latexpdf MAHARA=1.5 >> $LOGFILE 2>&1
make -C $INSTALLDIR update html epub latexpdf MAHARA=1.6 >> $LOGFILE 2>&1
make -C $INSTALLDIR update html epub latexpdf MAHARA=1.7 >> $LOGFILE 2>&1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment