From c92c6d6a12ff323472d7d9de1676ee262e0e6a1a Mon Sep 17 00:00:00 2001 From: "Dr. Awesome Doge" Date: Tue, 18 Jun 2024 17:27:37 +0800 Subject: [PATCH] Exclude deletion of `local.config.json` https://github.com/ton-blockchain/mytonctrl/issues/205 --- scripts/upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index 8c5cae14..ca896434 100644 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh @@ -67,7 +67,7 @@ make build_libs -j12 # Update binary cd ${bindir}/${repo} -ls --hide=global.config.json | xargs -d '\n' rm -rf +ls --hide=global.config.json --hide=local.config.json | xargs -d '\n' rm -rf rm -rf .ninja_* memory=$(cat /proc/meminfo | grep MemAvailable | awk '{print $2}') let "cpuNumber = memory / 2100000" || cpuNumber=1