mirror of
https://github.com/raspberrypi/rpi-update.git
synced 2026-01-20 21:13:38 +08:00
Don't remove files that are needed for older firmwares
This commit is contained in:
@@ -77,8 +77,6 @@ function update_sdk {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function update_firmware {
|
function update_firmware {
|
||||||
rm -rf ${FW_REPOLOCAL}/arm*.elf
|
|
||||||
rm -rf ${FW_REPOLOCAL}/loader.bin
|
|
||||||
rm -rf ${FW_PATH}/arm_*.elf
|
rm -rf ${FW_PATH}/arm_*.elf
|
||||||
rm -rf ${FW_PATH}/loader.bin
|
rm -rf ${FW_PATH}/loader.bin
|
||||||
cp ${FW_REPOLOCAL}/*.elf "${FW_PATH}/"
|
cp ${FW_REPOLOCAL}/*.elf "${FW_PATH}/"
|
||||||
|
|||||||
Reference in New Issue
Block a user