Skip to content

Commit

Permalink
🔨 chore: improve setup.sh to download searxng file (lobehub#6552)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx authored Feb 26, 2025
1 parent 9a14ee6 commit 47efd1b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ SUB_DIR="docker-compose/local"
FILES=(
"$SUB_DIR/docker-compose.yml"
"$SUB_DIR/init_data.json"
"$SUB_DIR/searxng-settings.yml"
)
ENV_EXAMPLES=(
"$SUB_DIR/.env.zh-CN.example"
Expand Down Expand Up @@ -434,6 +435,7 @@ section_download_files(){

download_file "$SOURCE_URL/${FILES[0]}" "docker-compose.yml"
download_file "$SOURCE_URL/${FILES[1]}" "init_data.json"
download_file "$SOURCE_URL/${FILES[2]}" "searxng-settings.yml"

# Download .env.example with the specified language
if [ "$LANGUAGE" = "zh_CN" ]; then
Expand Down Expand Up @@ -657,4 +659,4 @@ section_display_configurated_report() {
printf "\n%s" "$(show_message "tips_show_documentation")"
printf "%s\n" $(show_message "tips_show_documentation_url")
}
section_display_configurated_report
section_display_configurated_report

0 comments on commit 47efd1b

Please sign in to comment.