[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torbrowser/maint-2.2] use the right paths for adding tbb version in prefs.js on windows and linux
commit 1907b9e7455eaaa1fbd0aed614aeab55b2d6fdae
Author: Erinn Clark <erinn@xxxxxxxxxxxxxx>
Date: Sun Aug 28 20:37:03 2011 +0100
use the right paths for adding tbb version in prefs.js on windows and linux
---
build-scripts/linux.mk | 3 ++-
build-scripts/windows.mk | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/build-scripts/linux.mk b/build-scripts/linux.mk
index 85f8830..904aed7 100644
--- a/build-scripts/linux.mk
+++ b/build-scripts/linux.mk
@@ -468,5 +468,6 @@ update-extension-pref:
sed -i -e "s/SHPONKA/langpack-$(LANGCODE)@firefox.mozilla.org:$$ext_ver/g" $(BUNDLE)/Data/profile/prefs.js
write-tbb-version:
- printf 'user_pref("torbrowser.version", "%s");\n' "$(RELEASE_VER)" >> $(BUNDLE)/Library/Application\ Support/Firefox/Profiles/profile/prefs.js
+ printf 'user_pref("torbrowser.version", "%s");\n' "$(RELEASE_VER)" >> $(BUNDLE)/App/Firefox/defaults/profile/prefs.js
+ printf 'user_pref("torbrowser.version", "%s");\n' "$(RELEASE_VER)" >> $(BUNDLE)/Data/profile/prefs.js
diff --git a/build-scripts/windows.mk b/build-scripts/windows.mk
index 2016242..da1384e 100644
--- a/build-scripts/windows.mk
+++ b/build-scripts/windows.mk
@@ -441,7 +441,8 @@ apply-prefs:
cp $(DEST)/FirefoxPortable/Data/profile/prefs.js $(CONFIG_SRC)
write-tbb-version:
- printf 'user_pref("torbrowser.version", "%s");\n' "$(RELEASE_VER)" >> $(BUNDLE)/Library/Application\ Support/Firefox/Profiles/profile/prefs.js
+ printf 'user_pref("torbrowser.version", "%s");\n' "$(RELEASE_VER)" >> $(BUNDLE)/FirefoxPortable/App/DefaultData/profile/prefs.js
+ printf 'user_pref("torbrowser.version", "%s");\n' "$(RELEASE_VER)" >> $(BUNDLE)/FirefoxPortable/Data/profile/prefs.js
## Export the source code of the bundle
SRCNAME=$(COMPRESSED_NAME)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits