Skip to content

Commit 47efd1b

Browse files
authored
🔨 chore: improve setup.sh to download searxng file (#6552)
1 parent 9a14ee6 commit 47efd1b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker-compose/setup.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ SUB_DIR="docker-compose/local"
394394
FILES=(
395395
"$SUB_DIR/docker-compose.yml"
396396
"$SUB_DIR/init_data.json"
397+
"$SUB_DIR/searxng-settings.yml"
397398
)
398399
ENV_EXAMPLES=(
399400
"$SUB_DIR/.env.zh-CN.example"
@@ -434,6 +435,7 @@ section_download_files(){
434435

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

438440
# Download .env.example with the specified language
439441
if [ "$LANGUAGE" = "zh_CN" ]; then
@@ -657,4 +659,4 @@ section_display_configurated_report() {
657659
printf "\n%s" "$(show_message "tips_show_documentation")"
658660
printf "%s\n" $(show_message "tips_show_documentation_url")
659661
}
660-
section_display_configurated_report
662+
section_display_configurated_report

0 commit comments

Comments
 (0)