Remove search engine entries from the readme
This commit is contained in:
parent
2b5a0e47dc
commit
b1c8747604
|
@ -114,6 +114,9 @@ function remove_searx {
|
|||
fi
|
||||
remove_completion_param install_searx
|
||||
sed -i '/Search engine /d' $COMPLETION_FILE
|
||||
sed -i '/Search Engine /d' /home/$MY_USERNAME/README
|
||||
sed -i '/Search engine /d' /home/$MY_USERNAME/README
|
||||
sed -i '/search engine /d' /home/$MY_USERNAME/README
|
||||
}
|
||||
|
||||
function install_searx {
|
||||
|
@ -276,8 +279,7 @@ function install_searx {
|
|||
echo "$SEARX_PASSWORD" | htpasswd -i -s -c /etc/nginx/.htpasswd $MY_USERNAME
|
||||
echo '' >> /home/$MY_USERNAME/README
|
||||
echo '' >> /home/$MY_USERNAME/README
|
||||
echo $'Search Engine' >> /home/$MY_USERNAME/README
|
||||
echo '=============' >> /home/$MY_USERNAME/README
|
||||
echo $'# Search Engine' >> /home/$MY_USERNAME/README
|
||||
echo $"Search engine onion domain: ${SEARX_ONION_HOSTNAME}" >> /home/$MY_USERNAME/README
|
||||
echo $"Your search engine password is: $SEARX_PASSWORD" >> /home/$MY_USERNAME/README
|
||||
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/README
|
||||
|
|
Loading…
Reference in New Issue