WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: firefox.tcz: prevent auto-update  (Read 3993 times)

Offline caminati

  • Full Member
  • ***
  • Posts: 184
    • Homepage
firefox.tcz: prevent auto-update
« on: November 17, 2012, 05:11:42 PM »
A minor enhancement.
What about adding a file firefox.tcz/usr/local/firefox-official/defaults/preferences/foo.js containing the following text:

Code: [Select]
//@line 2 "/builds/slave/rel-m-rel-lnx-bld/build/browser/app/profile/channel-prefs.js"
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

pref("app.update.auto", false);

This sets a system-wide (global, all-user) setting corresponding to the preference
Quote
Check for updates, but let me choose whether to install them

This is because if you got trapped into an auto-update and then quit/restart firefox, it won't launch anymore. And, anyway, updates should be delegated to the TC packager alone.
I am using the fix above, and it seems it works.

By the way, there is another file (don't know who created it) inside defaults/pref; however, this location has been deprecated since version 14, and I tested indeed that it won't work any longer (defaults/preferences, the one I am proposing, does for me). See https://bugzilla.mozilla.org/show_bug.cgi?id=747567.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: firefox.tcz: prevent auto-update
« Reply #1 on: November 17, 2012, 07:53:36 PM »
Thanks, I will look at this tomorrow.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: firefox.tcz: prevent auto-update
« Reply #2 on: November 19, 2012, 01:25:35 AM »
Added the preferences/foo.js fiile entry.

As for the superfluous defaults/pref directory, being deprecated Mozilla should have it gone in the next Firefox release or two, which will likely be soon, so for now leaving put.  But if it stays after the next major release and is not needed, then we can deal with it.

Thanks for the info.

Offline caminati

  • Full Member
  • ***
  • Posts: 184
    • Homepage
Re: firefox.tcz: prevent auto-update
« Reply #3 on: November 20, 2012, 12:40:56 PM »
Added the preferences/foo.js fiile entry.

As for the superfluous defaults/pref directory, being deprecated Mozilla should have it gone in the next Firefox release or two, which will likely be soon, so for now leaving put.  But if it stays after the next major release and is not needed, then we can deal with it.

Thanks for the info.

Thanks, I am updating my firefox.tcz to see how it works.

Offline ananix

  • Full Member
  • ***
  • Posts: 174
Re: firefox.tcz: prevent auto-update
« Reply #4 on: November 21, 2012, 10:27:58 AM »
can we get something like this for thunderbird too :)

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: firefox.tcz: prevent auto-update
« Reply #5 on: November 21, 2012, 10:34:23 AM »
and filezilla ?
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: firefox.tcz: prevent auto-update
« Reply #6 on: November 29, 2012, 10:16:28 AM »
can we get something like this for thunderbird too :)

good idea,
you should inform bmarkus, the maintainer of thunderbird.