Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
export-noobs: replace all spaces with underscores in OS icon file
Browse files Browse the repository at this point in the history
  • Loading branch information
XECDesign committed Apr 3, 2017
1 parent fa1e67f commit 0ee2578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export-noobs/00-release/00-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ROOT_SIZE=$(expr ${ROOT_SIZE} / 1000000 \+ 1)
BOOT_NOM=$(expr ${BOOT_SIZE} \* 3)
ROOT_NOM=$(expr ${ROOT_SIZE} \+ 400)

mv "${NOOBS_DIR}/OS.png" "${NOOBS_DIR}/$(echo ${NOOBS_NAME} | sed 's/ /_/').png"
mv "${NOOBS_DIR}/OS.png" "${NOOBS_DIR}/$(echo ${NOOBS_NAME} | sed 's/ /_/g').png"

sed ${NOOBS_DIR}/partitions.json -i -e "s|BOOT_SIZE|${BOOT_SIZE}|"
sed ${NOOBS_DIR}/partitions.json -i -e "s|ROOT_SIZE|${ROOT_SIZE}|"
Expand Down

0 comments on commit 0ee2578

Please sign in to comment.