summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyano Hao2018-08-02 19:21:43 +0800
committerCyano Hao2018-08-02 19:21:43 +0800
commit78f634029b4a7414aa43443a385230700583747f (patch)
treedf025d5e4e20c134f3fa561f2ad3ad04f7743f61
parentc90bfec50ba7c7fa870d0316b518c0a74e11634a (diff)
downloadaur-78f634029b4a7414aa43443a385230700583747f.tar.gz
fix auto update disabler
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD14
-rw-r--r--policies.json5
-rw-r--r--vendor.js2
4 files changed, 17 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 946f23b5fb3..a9958374528 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = firefox-nightly-en-gb
pkgdesc = Standalone Web Browser from Mozilla — Nightly build (en-GB)
- pkgver = 63.0a1.20180626.100238
+ pkgver = 63.0a1.20180801.223951
pkgrel = 1
url = https://www.mozilla.org/en-GB/firefox/nightly
arch = i686
@@ -24,13 +24,13 @@ pkgbase = firefox-nightly-en-gb
optdepends = startup-notification: support for FreeDesktop Startup Notification
conflicts = firefox-nightly
source = firefox-nightly.desktop
- source = vendor.js
- source = 20180626-100238-firefox-63.0a1.en-GB.linux-x86_64.tar.bz2::https://ftp.mozilla.org/pub/firefox/nightly/2018/06/2018-06-26-10-02-38-mozilla-central-l10n/firefox-63.0a1.en-GB.linux-x86_64.tar.bz2
- source = 20180626-100238-firefox-63.0a1.en-GB.linux-x86_64.tar.bz2.asc::https://ftp.mozilla.org/pub/firefox/nightly/2018/06/2018-06-26-10-02-38-mozilla-central-l10n/firefox-63.0a1.en-GB.linux-x86_64.tar.bz2.asc
+ source = policies.json
+ source = 20180801-223951-firefox-63.0a1.en-GB.linux-x86_64.tar.bz2::https://ftp.mozilla.org/pub/firefox/nightly/2018/08/2018-08-01-22-39-51-mozilla-central-l10n/firefox-63.0a1.en-GB.linux-x86_64.tar.bz2
+ source = 20180801-223951-firefox-63.0a1.en-GB.linux-x86_64.tar.bz2.asc::https://ftp.mozilla.org/pub/firefox/nightly/2018/08/2018-08-01-22-39-51-mozilla-central-l10n/firefox-63.0a1.en-GB.linux-x86_64.tar.bz2.asc
validpgpkeys = 14F26682D0916CDD81E37B6D61B7B526D98F0353
sha512sums = b514abafc559ec03a4222442fa4306db257c3de9e18ed91a0b37cc9d7058a8e08a241442e54a67659a3ab4512a5dae6a0b94ea7a33d08ef0b8a76a9eac902095
- sha512sums = bae5a952d9b92e7a0ccc82f2caac3578e0368ea6676f0a4bc69d3ce276ef4f70802888f882dda53f9eb8e52911fb31e09ef497188bcd630762e1c0f5293cc010
- sha512sums = SKIP
+ sha512sums = 5ed67bde39175d4d10d50ba5b12063961e725e94948eadb354c0588b30d3f97d2178b66c1af466a6e7bd208ab694227a1391c4141f88d3da1a1178454eba5308
+ sha512sums = eff03f6936f71c9cc29ff01149924b3bd560515566f48f1d55961628f7e6f0a0c79c2031d380efaa51bf809b7b3f0fa21a57ea2bc6b6048423757055eed67a34
sha512sums = SKIP
pkgname = firefox-nightly-en-gb
diff --git a/PKGBUILD b/PKGBUILD
index a07ca3a01b6..dafdda491e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -44,15 +44,13 @@ _url="https://ftp.mozilla.org/pub/${_name}/${_channel}/${_build_id[year]}/${_bui
_src="${_name}-${_version}.${_lang}.linux-${CARCH}"
_filename="${_build_id[date]}-${_build_id[time]}-${_src}"
source=('firefox-nightly.desktop'
- 'vendor.js'
+ 'policies.json'
"${_filename}.tar.bz2"::"${_url}/${_src}.tar.bz2"
"${_filename}.tar.bz2.asc"::"${_url}/${_src}.tar.bz2.asc")
-sha512sums=(
- 'b514abafc559ec03a4222442fa4306db257c3de9e18ed91a0b37cc9d7058a8e08a241442e54a67659a3ab4512a5dae6a0b94ea7a33d08ef0b8a76a9eac902095'
- 'bae5a952d9b92e7a0ccc82f2caac3578e0368ea6676f0a4bc69d3ce276ef4f70802888f882dda53f9eb8e52911fb31e09ef497188bcd630762e1c0f5293cc010'
- 'SKIP'
- 'SKIP'
-)
+sha512sums=('b514abafc559ec03a4222442fa4306db257c3de9e18ed91a0b37cc9d7058a8e08a241442e54a67659a3ab4512a5dae6a0b94ea7a33d08ef0b8a76a9eac902095'
+ '5ed67bde39175d4d10d50ba5b12063961e725e94948eadb354c0588b30d3f97d2178b66c1af466a6e7bd208ab694227a1391c4141f88d3da1a1178454eba5308'
+ 'eff03f6936f71c9cc29ff01149924b3bd560515566f48f1d55961628f7e6f0a0c79c2031d380efaa51bf809b7b3f0fa21a57ea2bc6b6048423757055eed67a34'
+ 'SKIP')
validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla’s GnuPG release key
package() {
@@ -75,7 +73,7 @@ package() {
done
# Disable auto-updates
- install -Dm644 "${srcdir}"/vendor.js -t "${pkgdir}"/${OPT_PATH}/browser/defaults/preferences
+ install -Dm644 "${srcdir}"/policies.json -t "${pkgdir}"/${OPT_PATH}/distribution
# Use system-provided dictionaries
rm -rf "${pkgdir}"/${OPT_PATH}/{dictionaries,hyphenation}
diff --git a/policies.json b/policies.json
new file mode 100644
index 00000000000..f36622021fc
--- /dev/null
+++ b/policies.json
@@ -0,0 +1,5 @@
+{
+ "policies": {
+ "DisableAppUpdate": true
+ }
+}
diff --git a/vendor.js b/vendor.js
deleted file mode 100644
index caa38c691d4..00000000000
--- a/vendor.js
+++ /dev/null
@@ -1,2 +0,0 @@
-// Disable update check
-pref("app.update.enabled", false);