Skip to content

Commit

Permalink
remove duplicate plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Hiepler committed Aug 29, 2023
1 parent 0c05aed commit 810a87b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,10 @@ if [[ -f "${RPI_USER_CONFIG}" ]] && [[ "${RPI_IGNORE_USER_SETTINGS}" != "true" ]
_log "loaded \"${RPI_USER_CONFIG}\""
fi

# remove duplicate entries from RPI_BOOTSTRAP_PLUGINS
# shellcheck disable=SC2312
IFS=" " read -r -a RPI_BOOTSTRAP_PLUGINS <<< "$(tr ' ' '\n' <<< "${RPI_BOOTSTRAP_PLUGINS[@]}" | uniq | tr '\n' ' ')"

# say hello
banner

Expand Down

0 comments on commit 810a87b

Please sign in to comment.