Extricating the worst of the google crap which phones home
This commit is contained in:
parent
0e337558e6
commit
675188767c
|
@ -52,6 +52,34 @@ function fedwiki_remove_bad_links {
|
|||
if [ -f /usr/local/lib/node_modules/wiki/node_modules/wiki-security-friends/client/security.js ]; then
|
||||
sed -i 's|maxcdn.bootstrapcdn.com|localhost|g' /usr/local/lib/node_modules/wiki/node_modules/wiki-security-friends/client/security.js
|
||||
fi
|
||||
|
||||
if [ -f /usr/local/lib/node_modules/wiki/node_modules/localforage/docs/theme/style.css ]; then
|
||||
sed -i '/googleapi/d' /usr/local/lib/node_modules/wiki/node_modules/localforage/docs/theme/style.css
|
||||
fi
|
||||
|
||||
if [ -f /usr/local/lib/node_modules/wiki/node_modules/wiki-security-passportjs/views/addAlternativeDialog.html ]; then
|
||||
sed -i '/googleapi/d' /usr/local/lib/node_modules/wiki/node_modules/wiki-security-passportjs/views/addAlternativeDialog.html
|
||||
fi
|
||||
|
||||
if [ -f /usr/local/lib/node_modules/wiki/node_modules/wiki-security-passportjs/views/done.html ]; then
|
||||
sed -i '/googleapi/d' /usr/local/lib/node_modules/wiki/node_modules/wiki-security-passportjs/views/done.html
|
||||
fi
|
||||
|
||||
if [ -f /usr/local/lib/node_modules/wiki/node_modules/wiki-security-passportjs/views/personaDialog.html ]; then
|
||||
sed -i '/googleapi/d' /usr/local/lib/node_modules/wiki/node_modules/wiki-security-passportjs/views/personaDialog.html
|
||||
fi
|
||||
|
||||
if [ -f /usr/local/lib/node_modules/wiki/node_modules/wiki-security-passportjs/views/securityDialog.html ]; then
|
||||
sed -i '/googleapi/d' /usr/local/lib/node_modules/wiki/node_modules/wiki-security-passportjs/views/securityDialog.html
|
||||
fi
|
||||
|
||||
if [ -d /usr/local/lib/node_modules/wiki/node_modules/passport-google-oauth20 ]; then
|
||||
rm -rf /usr/local/lib/node_modules/wiki/node_modules/passport-google-oauth20
|
||||
fi
|
||||
|
||||
if [ -d /usr/local/lib/node_modules/wiki/node_modules/passport-oauth2 ]; then
|
||||
rm -rf /usr/local/lib/node_modules/wiki/node_modules/passport-oauth2
|
||||
fi
|
||||
}
|
||||
|
||||
function logging_on_fedwiki {
|
||||
|
|
Loading…
Reference in New Issue