diff --git a/src/dist/bin/update-db b/src/dist/bin/update-db new file mode 100644 index 0000000..7325c51 --- /dev/null +++ b/src/dist/bin/update-db @@ -0,0 +1,15 @@ +#!/bin/bash + +$(dirname $0)/starter patch updates + +if [ $? -ne 0 ] ; then + echo Error patch loading + exit 10 +fi + +$(dirname $0)/starter update + +if [ $? -ne 0 ] ; then + echo Error updating database + exit 11 +fi diff --git a/src/dist/bin/update-db.bat b/src/dist/bin/update-db.bat new file mode 100644 index 0000000..ae577b3 --- /dev/null +++ b/src/dist/bin/update-db.bat @@ -0,0 +1,6 @@ +@echo off + +call "%~dp0\starter.bat" patch updates +if ERRORLEVEL == 1 goto :EOF + +call "%~dp0\starter.bat" update \ No newline at end of file