mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-24 13:38:11 +00:00
Revert upgrade change to prevent script failure
This commit is contained in:
parent
df5c1ddcf8
commit
8d3c24981d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user