add_color_scheme.sh: no need for temporary EET file

master
Boris Faure 1 month ago
parent 5a058e433a
commit a4edc96d1f
Signed by: borisfaure
GPG Key ID: EAA9CD729F522998
  1. 3
      data/colorschemes/add_color_scheme.sh

@ -21,10 +21,9 @@ mkdir -p "$(dirname "$EET_FILE")"
# generate desc on a temporary file
TMP_DESC=$(mktemp "$NAME-DESC-XXXXXX")
TMP_EET=$(mktemp "$NAME-EET-XXXXXX")
# trap to avoid creating orphan files
trap 'rm -f "$TMP_DESC" "$TMP_EET"' INT TERM HUP EXIT
trap 'rm -f "$TMP_DESC"' INT TERM HUP EXIT
NAME=$($GET_NAME "$INI")

Loading…
Cancel
Save