|
@@ -52,6 +52,34 @@ function fedwiki_remove_bad_links {
|
52
|
52
|
if [ -f /usr/local/lib/node_modules/wiki/node_modules/wiki-security-friends/client/security.js ]; then
|
53
|
53
|
sed -i 's|maxcdn.bootstrapcdn.com|localhost|g' /usr/local/lib/node_modules/wiki/node_modules/wiki-security-friends/client/security.js
|
54
|
54
|
fi
|
|
55
|
+
|
|
56
|
+ if [ -f /usr/local/lib/node_modules/wiki/node_modules/localforage/docs/theme/style.css ]; then
|
|
57
|
+ sed -i '/googleapi/d' /usr/local/lib/node_modules/wiki/node_modules/localforage/docs/theme/style.css
|
|
58
|
+ fi
|
|
59
|
+
|
|
60
|
+ if [ -f /usr/local/lib/node_modules/wiki/node_modules/wiki-security-passportjs/views/addAlternativeDialog.html ]; then
|
|
61
|
+ sed -i '/googleapi/d' /usr/local/lib/node_modules/wiki/node_modules/wiki-security-passportjs/views/addAlternativeDialog.html
|
|
62
|
+ fi
|
|
63
|
+
|
|
64
|
+ if [ -f /usr/local/lib/node_modules/wiki/node_modules/wiki-security-passportjs/views/done.html ]; then
|
|
65
|
+ sed -i '/googleapi/d' /usr/local/lib/node_modules/wiki/node_modules/wiki-security-passportjs/views/done.html
|
|
66
|
+ fi
|
|
67
|
+
|
|
68
|
+ if [ -f /usr/local/lib/node_modules/wiki/node_modules/wiki-security-passportjs/views/personaDialog.html ]; then
|
|
69
|
+ sed -i '/googleapi/d' /usr/local/lib/node_modules/wiki/node_modules/wiki-security-passportjs/views/personaDialog.html
|
|
70
|
+ fi
|
|
71
|
+
|
|
72
|
+ if [ -f /usr/local/lib/node_modules/wiki/node_modules/wiki-security-passportjs/views/securityDialog.html ]; then
|
|
73
|
+ sed -i '/googleapi/d' /usr/local/lib/node_modules/wiki/node_modules/wiki-security-passportjs/views/securityDialog.html
|
|
74
|
+ fi
|
|
75
|
+
|
|
76
|
+ if [ -d /usr/local/lib/node_modules/wiki/node_modules/passport-google-oauth20 ]; then
|
|
77
|
+ rm -rf /usr/local/lib/node_modules/wiki/node_modules/passport-google-oauth20
|
|
78
|
+ fi
|
|
79
|
+
|
|
80
|
+ if [ -d /usr/local/lib/node_modules/wiki/node_modules/passport-oauth2 ]; then
|
|
81
|
+ rm -rf /usr/local/lib/node_modules/wiki/node_modules/passport-oauth2
|
|
82
|
+ fi
|
55
|
83
|
}
|
56
|
84
|
|
57
|
85
|
function logging_on_fedwiki {
|