From 864508a236280609549e73f6d82da79ad10d57cc Mon Sep 17 00:00:00 2001 From: "roman.kisluhin" Date: Wed, 19 Jun 2024 17:33:05 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D0=BB=D0=B8=D0=B2=D0=BA=D1=83=20=D0=BF=D0=B0=D1=82=D1=87?= =?UTF-8?q?=D0=B5=D0=B9=20=D0=BF=D1=80=D0=B8=20sync-full?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dist/bin/sync-full | 23 ++++++++--------------- src/dist/bin/sync-full.bat | 3 --- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/src/dist/bin/sync-full b/src/dist/bin/sync-full index 9a59b15..bd04f2a 100644 --- a/src/dist/bin/sync-full +++ b/src/dist/bin/sync-full @@ -1,15 +1,8 @@ -#!/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 +#!/bin/bash + +$(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 index 4fa76e4..62d5b0d 100644 --- a/src/dist/bin/sync-full.bat +++ b/src/dist/bin/sync-full.bat @@ -1,7 +1,4 @@ @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