summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian 'Swift Geek' Grzywna2018-09-16 16:55:11 +0200
committerSebastian 'Swift Geek' Grzywna2018-09-16 16:56:02 +0200
commit0ed2c461a1478288e7f626f580cc48b982e5efde (patch)
tree0744573cd3086e8873c5bb067d55e08c47f0ad28
parent7144612a1204ad112401b3f8bba5b41bd0f04e64 (diff)
downloadaur-0ed2c461a1478288e7f626f580cc48b982e5efde.tar.gz
Update ff install path
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 197fed44667..b0873dd5c61 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -109,14 +109,15 @@ build() {
package () {
_version="${pkgver%.*}"
+ _ff_path=/opt/firefox-nightly/browser/
cd ${srcdir}
- install -d ${pkgdir}/opt/firefox-${_version}/browser/extensions/
- install -d ${pkgdir}/opt/firefox-${_version}/defaults/pref
- echo 'pref("intl.locale.matchOS", true);' >> ${pkgdir}/opt/firefox-${_version}/defaults/pref/lang-pref.js
+ install -d ${pkgdir}/${_ff_path}/browser/extensions/
+ install -d ${pkgdir}/${_ff_path}/defaults/pref
+ echo 'pref("intl.locale.matchOS", true);' >> ${pkgdir}/${_ff_path}/defaults/pref/lang-pref.js
for item in ${srcdir}/*.xpi; do
iitem=$(basename $item)
iitem=${iitem/.langpack.xpi/@firefox.mozilla.org.xpi}
iitem=${iitem/firefox-${_version}./langpack-}
- install -m644 $item ${pkgdir}/opt/firefox-${_version}/browser/extensions/$iitem
+ install -Dm644 $item ${pkgdir}/${_ff_path}/browser/extensions/$iitem
done
}