diff --git a/src/dist/bin/sync-full b/src/dist/bin/sync-full new file mode 100644 index 0000000..9a59b15 --- /dev/null +++ b/src/dist/bin/sync-full @@ -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 -fullSync + +if [ $? -ne 0 ] ; then + echo Error updating database + exit 11 +fi diff --git a/src/dist/bin/sync-full.bat b/src/dist/bin/sync-full.bat new file mode 100644 index 0000000..4fa76e4 --- /dev/null +++ b/src/dist/bin/sync-full.bat @@ -0,0 +1,7 @@ +@echo off + +call "%~dp0\starter.bat" patch updates +if ERRORLEVEL == 1 goto :EOF + +call "%~dp0\starter.bat" update -fullSync +@pause \ No newline at end of file