Merge branch 'stretch' of https://github.com/bashrc/freedombone
This commit is contained in:
commit
f97728d95d
|
@ -846,7 +846,6 @@ function remove_searx {
|
|||
remove_completion_param install_searx
|
||||
sed -i '/Search engine /d' $COMPLETION_FILE
|
||||
sed -i '/searx /d' $COMPLETION_FILE
|
||||
update_default_search_engine
|
||||
}
|
||||
|
||||
function install_searx {
|
||||
|
@ -1012,8 +1011,6 @@ function install_searx {
|
|||
systemctl daemon-reload
|
||||
systemctl start searx.service
|
||||
|
||||
update_default_search_engine
|
||||
|
||||
SEARX_PASSWORD="$(create_password ${MINIMUM_PASSWORD_LENGTH})"
|
||||
${PROJECT_NAME}-pass -u $MY_USERNAME -a searx -p "$SEARX_PASSWORD"
|
||||
if grep -q "$MY_USERNAME:" /etc/nginx/.htpasswd; then
|
||||
|
|
|
@ -535,10 +535,6 @@ function install_dynamicdns {
|
|||
}
|
||||
|
||||
function update_default_search_engine {
|
||||
if [ -f /var/lib/tor/hidden_service_searx/hostname ]; then
|
||||
DEFAULT_SEARCH="http://$(cat /var/lib/tor/hidden_service_searx/hostname)"
|
||||
fi
|
||||
|
||||
for d in /home/*/ ; do
|
||||
USERNAME=$(echo "$d" | awk -F '/' '{print $3}')
|
||||
if [[ $(is_valid_user "$USERNAME") == "1" ]]; then
|
||||
|
|
Loading…
Reference in New Issue