mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 14:08:07 +00:00
Fix upgrade issue when copying files
This commit is contained in:
parent
ab55f92f21
commit
4e26ed66e2
|
@ -31,7 +31,7 @@ VERSION=$(cat /opt/upgrade/out/rootfs_*/usr/share/mynode/version)
|
|||
if [ $IS_X86 = 1 ]; then
|
||||
rsync -r -K /opt/upgrade/out/rootfs_${DEVICE_TYPE}/* / 2>&1
|
||||
else
|
||||
cp -rf /opt/upgrade/out/rootfs_${DEVICE_TYPE}/* / > 2>&1
|
||||
cp -rf /opt/upgrade/out/rootfs_${DEVICE_TYPE}/* / 2>&1
|
||||
fi
|
||||
sleep 1
|
||||
sync
|
||||
|
|
Loading…
Reference in New Issue
Block a user