@@ -44,30 +44,33 @@ SEARX_UWSGI_SOCKET="/run/uwsgi/app/searx/socket"
4444SEARX_PACKAGES_debian="\
4545python3-dev python3-babel python3-venv
4646uwsgi uwsgi-plugin-python3
47−git build-essential libxslt-dev zlib1g-dev libffi-dev libssl-dev"
47+git build-essential libxslt-dev zlib1g-dev libffi-dev libssl-dev
48+shellcheck"
4849
4950BUILD_PACKAGES_debian="\
50−shellcheck graphviz imagemagick texlive-xetex librsvg2-bin
51+graphviz imagemagick texlive-xetex librsvg2-bin
5152texlive-latex-recommended texlive-extra-utils ttf-dejavu"
5253
5354# pacman packages
5455SEARX_PACKAGES_arch="\
5556python python-pip python-lxml python-babel
5657uwsgi uwsgi-plugin-python
57−git base-devel libxml2"
58+git base-devel libxml2
59+shellcheck"
5860
5961BUILD_PACKAGES_arch="\
60−shellcheck graphviz imagemagick texlive-bin extra/librsvg
62+graphviz imagemagick texlive-bin extra/librsvg
6163texlive-core texlive-latexextra ttf-dejavu"
6264
6365# dnf packages
6466SEARX_PACKAGES_fedora="\
6567python python-pip python-lxml python-babel
6668uwsgi uwsgi-plugin-python3
67−git @development-tools libxml2"
69+git @development-tools libxml2
70+ShellCheck"
6871
6972BUILD_PACKAGES_fedora="\
70−ShellCheck graphviz graphviz-gd ImageMagick librsvg2-tools
73+graphviz graphviz-gd ImageMagick librsvg2-tools
7174texlive-xetex-bin texlive-collection-fontsrecommended
7275texlive-collection-latex dejavu-sans-fonts dejavu-serif-fonts
7376dejavu-sans-mono-fonts"
@@ -76,23 +79,21 @@ case $DIST_ID in
7679 ubuntu|debian)
7780 SEARX_PACKAGES="${SEARX_PACKAGES_debian}"
7881 BUILD_PACKAGES="${BUILD_PACKAGES_debian}"
82+ APACHE_APT_PACKAGES="libapache2-mod-uwsgi"
7983 ;;
8084 arch)
8185 SEARX_PACKAGES="${SEARX_PACKAGES_arch}"
8286 BUILD_PACKAGES="${BUILD_PACKAGES_arch}"
87+ APACHE_APT_PACKAGES="uwsgi"
8388 ;;
8489 fedora)
8590 SEARX_PACKAGES="${SEARX_PACKAGES_fedora}"
8691 BUILD_PACKAGES="${BUILD_PACKAGES_fedora}"
92+ APACHE_APT_PACKAGES="uwsgi"
8793 ;;
8894esac
8995
9096# Apache Settings
91−
92−APACHE_APT_PACKAGES="\
93− libapache2-mod-uwsgi \
94−"
95−
9697APACHE_SEARX_SITE="searx.conf"
9798
9899# shellcheck disable=SC2034