aboutsummaryrefslogtreecommitdiffstats
path: root/export-noobs/00-release
diff options
context:
space:
mode:
authorSerge Schneider <[email protected]>2017-04-03 16:39:20 +0100
committerSerge Schneider <[email protected]>2017-04-03 16:39:20 +0100
commit0ee2578bc6feac8d44ceeb2e5bf0bad70630311f (patch)
treef33baa570387dfdd5e7ed6787f99e2595336e90b /export-noobs/00-release
parentfa1e67f92eb4e8a8a0c9d31a43803119853d8bef (diff)
export-noobs: replace all spaces with underscores in OS icon file
Diffstat (limited to 'export-noobs/00-release')
-rwxr-xr-xexport-noobs/00-release/00-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/export-noobs/00-release/00-run.sh b/export-noobs/00-release/00-run.sh
index e8717b4..25f62fd 100755
--- a/export-noobs/00-release/00-run.sh
+++ b/export-noobs/00-release/00-run.sh
@@ -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}|"