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() {
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"