mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 00:19:52 +07:00
update: use cp instead of mv
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
c1299a469d
commit
90df8f1848
@ -173,11 +173,11 @@ function updateLoader() {
|
||||
echo "Download successful!"
|
||||
unzip -oq "${TMP_PATH}/update.zip" -d "${TMP_PATH}"
|
||||
echo "Installing new Loader Image..."
|
||||
mv -f "${TMP_PATH}/grub.cfg" "${USER_GRUB_CONFIG}"
|
||||
mv -f "${TMP_PATH}/ARC-VERSION" "${PART1_PATH}/ARC-VERSION"
|
||||
mv -f "${TMP_PATH}/ARC-BRANCH" "${PART1_PATH}/ARC-BRANCH"
|
||||
mv -f "${TMP_PATH}/bzImage-arc" "${ARC_BZIMAGE_FILE}"
|
||||
mv -f "${TMP_PATH}/initrd-arc" "${ARC_RAMDISK_FILE}"
|
||||
cp -f "${TMP_PATH}/grub.cfg" "${USER_GRUB_CONFIG}"
|
||||
cp -f "${TMP_PATH}/ARC-VERSION" "${PART1_PATH}/ARC-VERSION"
|
||||
cp -f "${TMP_PATH}/ARC-BRANCH" "${PART1_PATH}/ARC-BRANCH"
|
||||
cp -f "${TMP_PATH}/bzImage-arc" "${ARC_BZIMAGE_FILE}"
|
||||
cp -f "${TMP_PATH}/initrd-arc" "${ARC_RAMDISK_FILE}"
|
||||
rm -f "${TMP_PATH}/update.zip"
|
||||
echo "Update done!"
|
||||
sleep 2
|
||||
|
Loading…
Reference in New Issue
Block a user