www.fgks.org   »   [go: up one dir, main page]

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Rodriguez <ruben@trisquel.info>2022-09-08 20:26:54 -0400
committerRuben Rodriguez <ruben@trisquel.info>2022-09-08 20:26:54 -0400
commitc93596f6288dd4130ab6b4f3b5063c9da1eb3c98 (patch)
tree4a147ed9a71315bb22dcaec10a1e8b1eef489ceb
parent5da28b0f8771834ae208d61431d632875e9f8e7d (diff)
downloadgnuzilla-c93596f6288dd4130ab6b4f3b5063c9da1eb3c98.tar.gz
Clear default-bookmarks file programatically
-rw-r--r--data/bookmarks.html.in16
-rwxr-xr-xmakeicecat2
2 files changed, 1 insertions, 17 deletions
diff --git a/data/bookmarks.html.in b/data/bookmarks.html.in
deleted file mode 100644
index ae0ee00..0000000
--- a/data/bookmarks.html.in
+++ /dev/null
@@ -1,16 +0,0 @@
-#filter substitution
-<!DOCTYPE NETSCAPE-Bookmark-file-1>
-<!-- This is an automatically generated file.
- It will be read and overwritten.
- DO NOT EDIT! -->
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
-<TITLE>Bookmarks</TITLE>
-<H1>Bookmarks Menu</H1>
-
-<DL><p>
- <DT><H3 ADD_DATE="1245542278" LAST_MODIFIED="1245543070" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3>
-<DD>Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar
- <DL><p>
- <HR>
- </DL><p>
-</DL><p>
diff --git a/makeicecat b/makeicecat
index c19ffc4..1fae906 100755
--- a/makeicecat
+++ b/makeicecat
@@ -531,7 +531,7 @@ apply_branding()
rm -rf ./browser/metro ./addon-sdk/source/doc/static-files/media ./b2g
# Custom bookmarks
- cp "${DATADIR}"/bookmarks.html.in browser/locales/generic/profile/bookmarks.html.in
+ sed '/ifndef/,/endif/d' -i browser/base/content/default-bookmarks.html
# Custom legal about pages
find l10n -wholename '*/brand.dtd' | xargs /bin/sed 's/trademarkInfo.part1.*/trademarkInfo.part1 "The IceCat logo is Copyright 2008-2015 Free Software Foundation, released under the terms of the GNU Lesser General Public License, version 3 or any later version.">/' -i