From ec50893e19fe1baaa249600b14e0993c8debca68 Mon Sep 17 00:00:00 2001 From: Alfonso Gamboa Date: Fri, 24 Jun 2022 11:13:40 -0700 Subject: [PATCH] fix upgrades from previous versions --- SD_ROOT/wz_mini/bin/upgrade-run.sh | 6 ++++++ file.chk | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/SD_ROOT/wz_mini/bin/upgrade-run.sh b/SD_ROOT/wz_mini/bin/upgrade-run.sh index 3259499..fc1e552 100755 --- a/SD_ROOT/wz_mini/bin/upgrade-run.sh +++ b/SD_ROOT/wz_mini/bin/upgrade-run.sh @@ -62,6 +62,12 @@ exit 0 backup_begin() { echo "Resume upgrade-run, latest version" +echo "check for old directory path" +if [ -d /opt/Upgrade/wz_mini_hacks-master ]; then + echo "old path found, moving" + mv /opt/Upgrade/wz_mini_hacks-master /opt/Upgrade/wz_mini_hacks +fi + sleep 5 echo "Backup user config" diff --git a/file.chk b/file.chk index 8c39c31..bb21725 100644 --- a/file.chk +++ b/file.chk @@ -52,7 +52,7 @@ a8970288e72c871bff6a4484f1e733d6 SD_ROOT/wz_mini/bin/readelf 41b56bb30f02bce5f5e2598073151e16 SD_ROOT/wz_mini/bin/ffmpeg e37474a12d76cae16336476cba61e8b8 SD_ROOT/wz_mini/bin/neofetch 7fcc716cda1e024dae1045050a135beb SD_ROOT/wz_mini/bin/audioplay_t31 -d515ed5eafec6348383f1e5f10507a4d SD_ROOT/wz_mini/bin/upgrade-run.sh +65e617813575787adf76e33b83a0168f SD_ROOT/wz_mini/bin/upgrade-run.sh e6a6a9dd8ce138686083a3d4303cea40 SD_ROOT/wz_mini/bin/iperf3 0468ffb319707687557353242a518923 SD_ROOT/wz_mini/bin/wg 65510c6c4d0db4b4679fc92d1c617fdd SD_ROOT/wz_mini/bin/rtmp-stream.sh