|
@@ -846,7 +846,6 @@ function remove_searx {
|
846
|
846
|
remove_completion_param install_searx
|
847
|
847
|
sed -i '/Search engine /d' $COMPLETION_FILE
|
848
|
848
|
sed -i '/searx /d' $COMPLETION_FILE
|
849
|
|
- update_default_search_engine
|
850
|
849
|
}
|
851
|
850
|
|
852
|
851
|
function install_searx {
|
|
@@ -1012,8 +1011,6 @@ function install_searx {
|
1012
|
1011
|
systemctl daemon-reload
|
1013
|
1012
|
systemctl start searx.service
|
1014
|
1013
|
|
1015
|
|
- update_default_search_engine
|
1016
|
|
-
|
1017
|
1014
|
SEARX_PASSWORD="$(create_password ${MINIMUM_PASSWORD_LENGTH})"
|
1018
|
1015
|
${PROJECT_NAME}-pass -u $MY_USERNAME -a searx -p "$SEARX_PASSWORD"
|
1019
|
1016
|
if grep -q "$MY_USERNAME:" /etc/nginx/.htpasswd; then
|