Remove upgrade _copy file

This commit is contained in:
Taylor Helsper 2020-01-23 23:42:30 -06:00
parent bcb581a921
commit 76539365d3

View File

@ -29,9 +29,9 @@ tar -xvf /tmp/mynode_release_latest.tar.gz -C /tmp/upgrade/
# Install files
VERSION=$(cat /tmp/upgrade/out/rootfs_*/usr/share/mynode/version)
if [ $IS_X86 = 1 ]; then
rsync -r -K /tmp/upgrade/out/rootfs_${DEVICE_TYPE}/* / > /home/admin/upgrade_logs/upgrade_log_${VERSION}_copy.txt 2>&1
rsync -r -K /tmp/upgrade/out/rootfs_${DEVICE_TYPE}/* / 2>&1
else
cp -rf /tmp/upgrade/out/rootfs_${DEVICE_TYPE}/* / > /home/admin/upgrade_logs/upgrade_log_${VERSION}_copy.txt 2>&1
cp -rf /tmp/upgrade/out/rootfs_${DEVICE_TYPE}/* / > 2>&1
fi
sleep 1
sync