Skip to content

Commit 6adaad9

Browse files
authored
Update support.sh: We don't need to include *fonts, but we need to know which exist
1 parent 4bfe318 commit 6adaad9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

support.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,10 +375,13 @@ function generate_support_info()
375375
local X="${TEMP_DIR_OVERLAY}/config/overlay/tmp/de421.bsp"
376376
[[ -s ${X} ]] && truncate -s 0 "${X}"
377377
rm -fr \
378-
"${TEMP_DIR_OVERLAY}/system_fonts" \
379378
"${TEMP_MY_MODULES}/moduledata/data/allsky_adsb/adsb_data" \
380379
"${TEMP_MY_MODULES}/__pycache__"
381380

381+
X="${TEMP_DIR_OVERLAY}/system_fonts"
382+
Y="${TEMP_DIR_OVERLAY}/fonts"
383+
[[ -d ${X} ]] && find "${X}" "${Y}" -type f -exec truncate -s 0 {} + 2> /dev/null
384+
382385
cd "${TEMP_DIR}" || exit 1
383386

384387
# Handle the Allsky log files last, since they are usually the largest files and we need

0 commit comments

Comments
 (0)