Revert upgrade change to prevent script failure

This commit is contained in:
Taylor Helsper 2021-04-29 20:55:26 -05:00
parent df5c1ddcf8
commit 8d3c24981d

View File

@ -50,7 +50,7 @@ tar -xvf /opt/mynode_release_latest.tar.gz -C /opt/upgrade/
# Install files # Install files
VERSION=$(cat /opt/upgrade/out/rootfs_*/usr/share/mynode/version) VERSION=$(cat /opt/upgrade/out/rootfs_*/usr/share/mynode/version)
if [ $IS_X86 = 1 ] || [ $IS_RASPI4_ARM64 = 1 ]; then if [ $IS_X86 = 1 ]; then
rsync -r -K /opt/upgrade/out/rootfs_${DEVICE_TYPE}/* / 2>&1 rsync -r -K /opt/upgrade/out/rootfs_${DEVICE_TYPE}/* / 2>&1
else else
cp -rf /opt/upgrade/out/rootfs_${DEVICE_TYPE}/* / 2>&1 cp -rf /opt/upgrade/out/rootfs_${DEVICE_TYPE}/* / 2>&1