fix upgrades from previous versions

This commit is contained in:
Alfonso Gamboa 2022-06-24 11:13:40 -07:00
parent 61ee24ad27
commit ec50893e19
2 changed files with 7 additions and 1 deletions

View File

@ -62,6 +62,12 @@ exit 0
backup_begin() { backup_begin() {
echo "Resume upgrade-run, latest version" 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 sleep 5
echo "Backup user config" echo "Backup user config"

View File

@ -52,7 +52,7 @@ a8970288e72c871bff6a4484f1e733d6 SD_ROOT/wz_mini/bin/readelf
41b56bb30f02bce5f5e2598073151e16 SD_ROOT/wz_mini/bin/ffmpeg 41b56bb30f02bce5f5e2598073151e16 SD_ROOT/wz_mini/bin/ffmpeg
e37474a12d76cae16336476cba61e8b8 SD_ROOT/wz_mini/bin/neofetch e37474a12d76cae16336476cba61e8b8 SD_ROOT/wz_mini/bin/neofetch
7fcc716cda1e024dae1045050a135beb SD_ROOT/wz_mini/bin/audioplay_t31 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 e6a6a9dd8ce138686083a3d4303cea40 SD_ROOT/wz_mini/bin/iperf3
0468ffb319707687557353242a518923 SD_ROOT/wz_mini/bin/wg 0468ffb319707687557353242a518923 SD_ROOT/wz_mini/bin/wg
65510c6c4d0db4b4679fc92d1c617fdd SD_ROOT/wz_mini/bin/rtmp-stream.sh 65510c6c4d0db4b4679fc92d1c617fdd SD_ROOT/wz_mini/bin/rtmp-stream.sh