LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-16-2017, 03:13 PM   #16
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43

Invalid file...
It's supposed to be called latest-firefox.sh, right?
 
Old 11-16-2017, 03:36 PM   #17
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
Quote:
Originally Posted by adriv View Post
It's supposed to be called latest-firefox.sh, right?
Yes. To attach it (if that's your issue), just rename it latest-firefox.txt, then it will be accepted.
 
1 members found this post helpful.
Old 11-16-2017, 03:42 PM   #18
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
OK, Thanks.
BTW, I changed the locale just now, but then it complains
Code:
Could not work out the latest version; exiting
Attached Files
File Type: txt latest-firefox.txt (9.8 KB, 22 views)
 
Old 11-16-2017, 04:01 PM   #19
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
I changed the locale back to en-US in the script you attached, then just ran:
Code:
sh latest-firefox.txt
and it worked, output ending with:
Code:
Slackware package "/tmp/mozilla-firefox-57.0-x86_64-1ro.tgz" created.
However something puzzles me. Here I see about the source archive:
Code:
2017-11-16 22:51:28 (1,80 MB/s) — « /tmp/repackage-mozilla-firefox/src/firefox-57.0.tar.bz2 » sauvegardé [53575345/53575345]
But in your output the size is:[56208579/56208579]. So maybe that's the source archive you downloaded that is corrupt. Please retry with en-US.

Last edited by Didier Spaier; 11-16-2017 at 04:07 PM.
 
3 members found this post helpful.
Old 11-16-2017, 04:31 PM   #20
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
Works now, thank you very much.
 
Old 11-16-2017, 11:06 PM   #21
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
I am trying Firefox 57 using the latest-firefox.sh script too. It's very fast! Thanks for the script, ruario.
 
1 members found this post helpful.
Old 11-17-2017, 01:49 AM   #22
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by adriv View Post
Code:
2017-11-16 20:59:31 (4.19 MB/s) - '/tmp/repackage-mozilla-firefox/src/firefox-57.0.tar.bz2' saved [56208579/56208579]

cp: cannot stat '../src/latest-firefox.sh': No such file or directory
What is wrong?
Not sure, though I see from later replies that you produced a working package in the end. If you (or others) have issues in the future, run the script like this

Code:
bash -x latest-firefox.sh 2>&1 | tee latest-firefox.log
This will produce a log file (latest-firefox.log) that you could post here (or somewhere like pastebin.com) and either I or someone else might be able to see what went wrong. If you do post here, I would strongly encourage you to edit the log file first to cut out the 1040+ lines of output from wget as it downloads Firefox (or pre-download Firefox and place it in the directory where you run the script, so that it does not have to download).

Here is an example of a log from a successful repackage

Code:
+ '[' '' = -i -o '' = --install ']'
+ AUTO_INSTALL=N
++ uname -m
+ ARCH=x86_64
+ '[' x86_64 = x86_64 ']'
+ LIBDIRSUFFIX=64
+ FFESR=N
+ '[' N = Y ']'
+ FFCHANNEL=latest
+ '[' latest = esr ']'
+ '[' latest = beta ']'
+ FFLANG=en-US
++ wget --spider -S --max-redirect 0 'https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US'
++ sed -n '/Location: /{s|.*/firefox-\(.*\)\.tar.*|\1|p;q;}'
+ VERSION=57.0
+ '[' -z 57.0 ']'
+ /bin/ls '/var/log/packages/mozilla-firefox-57.0-*'
+ TMP=/tmp
+ OUTPUT=/tmp
+ BUILD=1
+ TAG=ro
+ PKGTYPE=tgz
+ PACKAGE=/tmp/mozilla-firefox-57.0-x86_64-1ro.tgz
+ '[' -e /tmp/mozilla-firefox-57.0-x86_64-1ro.tgz ']'
+ REPACKDIR=/tmp/repackage-mozilla-firefox
+ FIREFOXPKG='https://download.mozilla.org/?product=firefox-57.0&os=linux64&lang=en-US'
+ DESKTOPFILE=https://mirrors.slackware.com/slackware/slackware-current/source/xap/mozilla-firefox/mozilla-firefox.desktop
+ SCRIPT=latest-firefox.sh
+ set -eu
+ '[' -d /tmp/repackage-mozilla-firefox ']'
+ rm -fr /tmp/repackage-mozilla-firefox
+ mkdir -p /tmp/repackage-mozilla-firefox/pkg /tmp/repackage-mozilla-firefox/src
+ '[' -e mozilla-firefox.desktop ']'
+ '[' -e /usr/share/applications/mozilla-firefox.desktop ']'
+ cp /usr/share/applications/mozilla-firefox.desktop /tmp/repackage-mozilla-firefox/src/
+ install -m 644 latest-firefox.sh /tmp/repackage-mozilla-firefox/src/latest-firefox.sh
+ '[' -e firefox-57.0.tar.bz2 ']'
+ cp firefox-57.0.tar.bz2 /tmp/repackage-mozilla-firefox/src/
+ cd /tmp/repackage-mozilla-firefox/pkg
+ mkdir -p install
+ mkdir -p usr/bin
+ mkdir -p usr/doc/mozilla-firefox-57.0
+ mkdir -p usr/share/applications
+ mkdir -p usr/share/icons/hicolor/16x16/apps usr/share/icons/hicolor/32x32/apps usr/share/icons/hicolor/48x48/apps usr/share/icons/hicolor/128x128/apps
+ mkdir -p usr/lib64/mozilla
+ mkdir -p usr/lib64/firefox-57.0
+ cp ../src/mozilla-firefox.desktop usr/share/applications/
+ cp ../src/latest-firefox.sh usr/doc/mozilla-firefox-57.0/latest-firefox.sh
+ tar xf ../src/firefox-57.0.tar.bz2 --strip 1 -C usr/lib64/firefox-57.0
+ find usr/lib64/firefox-57.0 -maxdepth 1 -iname '*.txt' -exec mv '{}' usr/doc/mozilla-firefox-57.0/ ';'
+ '[' -d usr/lib64/firefox-57.0/plugins ']'
+ mkdir usr/lib64/mozilla/plugins
+ cd usr/bin
+ ln -s ../lib64/firefox-57.0/firefox firefox
+ '[' -d usr/lib64/firefox-57.0/browser ']'
+ cd usr/lib64/firefox-57.0/browser
+ ln -s ../../mozilla/plugins plugins
+ /bin/ls 'usr/lib64/firefox-57.0/chrome/icons/default/default*.png'
+ /bin/ls usr/lib64/firefox-57.0/browser/chrome/icons/default/default16.png usr/lib64/firefox-57.0/browser/chrome/icons/default/default32.png usr/lib64/firefox-57.0/browser/chrome/icons/default/default48.png
+ DEFAULTICONPATH=lib64/firefox-57.0/browser/chrome/icons/default
+ ALTICONPATH=lib64/firefox-57.0/browser/icons
+ cd usr/share/icons/hicolor/16x16/apps
+ ln -s ../../../../../lib64/firefox-57.0/browser/chrome/icons/default/default16.png firefox.png
+ cd usr/share/icons/hicolor/32x32/apps
+ ln -s ../../../../../lib64/firefox-57.0/browser/chrome/icons/default/default32.png firefox.png
+ cd usr/share/icons/hicolor/48x48/apps
+ ln -s ../../../../../lib64/firefox-57.0/browser/chrome/icons/default/default48.png firefox.png
+ cd usr/share/icons/hicolor/128x128/apps
+ ln -s ../../../../../lib64/firefox-57.0/browser/icons/mozicon128.png firefox.png
+ cat
+ cat
+ chmod -R u+w,go+r-w,a-s .
+ mkpkg /tmp/mozilla-firefox-57.0-x86_64-1ro.tgz
+ '[' /tmp/mozilla-firefox-57.0-x86_64-1ro.tgz = -n ']'
+ TAROWNER='--group 0 --owner 0'
+ find install usr -type l
+ grep -qm1 .
+ mkdir -p install
+ find install usr -type l -printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete
+ '[' -f install/doinst.sh ']'
+ printf '\n'
+ cat - install/doinst.sh
+ mv install/symlinks install/doinst.sh
+ case "$1" in
+ cmp=gzip
+ tar cvvf - . --format gnu --xform 'sx^\./\(.\)x\1x' --show-stored-names --group 0 --owner 0
+ gzip
drwxr-xr-x root/root         0 2017-11-17 08:48 ./
drwxr-xr-x root/root         0 2017-11-17 08:48 install/
-rw-r--r-- root/root      1326 2017-11-17 08:48 install/doinst.sh
-rw-r--r-- root/root       555 2017-11-17 08:48 install/slack-desc
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/bin/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/doc/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/doc/mozilla-firefox-57.0/
-rw-r--r-- root/root     10014 2017-11-17 08:48 usr/doc/mozilla-firefox-57.0/latest-firefox.sh
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/share/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/share/applications/
-rw-r--r-- root/root      2737 2017-11-17 08:48 usr/share/applications/mozilla-firefox.desktop
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/share/icons/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/share/icons/hicolor/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/share/icons/hicolor/16x16/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/share/icons/hicolor/16x16/apps/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/share/icons/hicolor/32x32/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/share/icons/hicolor/32x32/apps/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/share/icons/hicolor/48x48/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/share/icons/hicolor/48x48/apps/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/share/icons/hicolor/128x128/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/share/icons/hicolor/128x128/apps/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/mozilla/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/mozilla/plugins/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/firefox-57.0/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/firefox-57.0/gtk2/
-rwxr-xr-x root/root     22720 2017-11-12 15:02 usr/lib64/firefox-57.0/gtk2/libmozgtk.so
-rw-r--r-- root/root       899 2017-11-12 15:02 usr/lib64/firefox-57.0/libfreeblpriv3.chk
-rwxr-xr-x root/root    158832 2017-11-12 15:02 usr/lib64/firefox-57.0/libnssdbm3.so
-rwxr-xr-x root/root  75485656 2017-11-12 15:02 usr/lib64/firefox-57.0/libxul.so
-rwxr-xr-x root/root    572016 2017-11-12 15:02 usr/lib64/firefox-57.0/libfreeblpriv3.so
-rwxr-xr-x root/root    187536 2017-11-12 15:02 usr/lib64/firefox-57.0/firefox
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/firefox-57.0/browser/
-rw-r--r-- root/root    267676 2017-11-12 14:01 usr/lib64/firefox-57.0/browser/blocklist.xml
-rw-r--r-- root/root       787 2017-11-12 14:01 usr/lib64/firefox-57.0/browser/crashreporter-override.ini
-rw-r--r-- root/root  34154208 2017-11-12 15:02 usr/lib64/firefox-57.0/browser/omni.ja
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/firefox-57.0/browser/icons/
-rw-r--r-- root/root     12891 2017-11-12 14:01 usr/lib64/firefox-57.0/browser/icons/mozicon128.png
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/firefox-57.0/browser/extensions/
-rw-r--r-- root/root      2343 2017-11-12 15:02 usr/lib64/firefox-57.0/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/firefox-57.0/browser/chrome/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/firefox-57.0/browser/chrome/icons/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/firefox-57.0/browser/chrome/icons/default/
-rw-r--r-- root/root      2169 2017-11-12 14:01 usr/lib64/firefox-57.0/browser/chrome/icons/default/default32.png
-rw-r--r-- root/root       798 2017-11-12 14:01 usr/lib64/firefox-57.0/browser/chrome/icons/default/default16.png
-rw-r--r-- root/root      3607 2017-11-12 14:01 usr/lib64/firefox-57.0/browser/chrome/icons/default/default48.png
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/firefox-57.0/browser/features/
-rw-r--r-- root/root   1435932 2017-11-12 15:02 usr/lib64/firefox-57.0/browser/features/activity-stream@mozilla.org.xpi
-rw-r--r-- root/root      9912 2017-11-12 15:02 usr/lib64/firefox-57.0/browser/features/webcompat@mozilla.org.xpi
-rw-r--r-- root/root     19123 2017-11-12 15:02 usr/lib64/firefox-57.0/browser/features/followonsearch@mozilla.com.xpi
-rw-r--r-- root/root     13723 2017-11-12 15:02 usr/lib64/firefox-57.0/browser/features/e10srollout@mozilla.org.xpi
-rw-r--r-- root/root    386867 2017-11-12 15:02 usr/lib64/firefox-57.0/browser/features/formautofill@mozilla.org.xpi
-rw-r--r-- root/root    916834 2017-11-12 15:02 usr/lib64/firefox-57.0/browser/features/firefox@getpocket.com.xpi
-rw-r--r-- root/root    370058 2017-11-12 15:02 usr/lib64/firefox-57.0/browser/features/shield-recipe-client@mozilla.org.xpi
-rw-r--r-- root/root    904509 2017-11-12 15:02 usr/lib64/firefox-57.0/browser/features/screenshots@mozilla.org.xpi
-rw-r--r-- root/root    556030 2017-11-12 15:02 usr/lib64/firefox-57.0/browser/features/onboarding@mozilla.org.xpi
-rw-r--r-- root/root      8732 2017-11-12 15:02 usr/lib64/firefox-57.0/browser/features/aushelper@mozilla.org.xpi
-rw-r--r-- root/root         0 2017-11-12 14:31 usr/lib64/firefox-57.0/browser/chrome.manifest
-rw-r--r-- root/root      2591 2017-11-12 15:11 usr/lib64/firefox-57.0/precomplete
-rwxr-xr-x root/root    196384 2017-11-12 15:02 usr/lib64/firefox-57.0/libnssutil3.so
-rwxr-xr-x root/root     22944 2017-11-12 15:02 usr/lib64/firefox-57.0/libplds4.so
-rwxr-xr-x root/root     59912 2017-11-12 15:02 usr/lib64/firefox-57.0/liblgpllibs.so
-rw-r--r-- root/root       132 2017-11-12 15:02 usr/lib64/firefox-57.0/update-settings.ini
-rwxr-xr-x root/root    316184 2017-11-12 15:02 usr/lib64/firefox-57.0/libssl3.so
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/firefox-57.0/dictionaries/
-rw-r--r-- root/root    576915 2017-11-12 14:01 usr/lib64/firefox-57.0/dictionaries/en-US.dic
-rw-r--r-- root/root      3074 2017-11-12 14:01 usr/lib64/firefox-57.0/dictionaries/en-US.aff
-rwxr-xr-x root/root    689112 2017-11-12 15:02 usr/lib64/firefox-57.0/libnss3.so
-rwxr-xr-x root/root     27168 2017-11-12 15:02 usr/lib64/firefox-57.0/libplc4.so
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/firefox-57.0/defaults/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/firefox-57.0/defaults/pref/
-rw-r--r-- root/root       245 2017-11-12 15:02 usr/lib64/firefox-57.0/defaults/pref/channel-prefs.js
-rw-r--r-- root/root       707 2017-11-12 14:31 usr/lib64/firefox-57.0/removed-files
-rw-r--r-- root/root       899 2017-11-12 15:02 usr/lib64/firefox-57.0/libnssdbm3.chk
-rwxr-xr-x root/root    534624 2017-11-12 15:02 usr/lib64/firefox-57.0/libnssckbi.so
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/firefox-57.0/gmp-clearkey/
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/firefox-57.0/gmp-clearkey/0.1/
-rwxr-xr-x root/root    109280 2017-11-12 15:02 usr/lib64/firefox-57.0/gmp-clearkey/0.1/libclearkey.so
-rw-r--r-- root/root       223 2017-11-12 15:02 usr/lib64/firefox-57.0/gmp-clearkey/0.1/manifest.json
-rw-r--r-- root/root      1449 2017-11-12 15:11 usr/lib64/firefox-57.0/gmp-clearkey/0.1/libclearkey.so.sig
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/firefox-57.0/fonts/
-rw-r--r-- root/root   1227260 2017-11-12 14:01 usr/lib64/firefox-57.0/fonts/EmojiOneMozilla.ttf
-rw-r--r-- root/root       164 2017-11-12 15:02 usr/lib64/firefox-57.0/platform.ini
-rwxr-xr-x root/root    179152 2017-11-12 15:02 usr/lib64/firefox-57.0/plugin-container
-rwxr-xr-x root/root    281848 2017-11-12 15:02 usr/lib64/firefox-57.0/pingsender
-rw-r--r-- root/root       157 2017-11-12 15:02 usr/lib64/firefox-57.0/dependentlibs.list
-rwxr-xr-x root/root    256672 2017-11-12 15:02 usr/lib64/firefox-57.0/updater
-rwxr-xr-x root/root    192176 2017-11-12 15:02 usr/lib64/firefox-57.0/libmozavutil.so
-rwxr-xr-x root/root   1548912 2017-11-12 15:02 usr/lib64/firefox-57.0/libmozavcodec.so
-rwxr-xr-x root/root     93208 2017-11-12 15:02 usr/lib64/firefox-57.0/libmozsandbox.so
-rwxr-xr-x root/root    860864 2017-11-12 15:02 usr/lib64/firefox-57.0/minidump-analyzer
-rw-r--r-- root/root  17313312 2017-11-12 15:02 usr/lib64/firefox-57.0/omni.ja
-rw-r--r-- root/root       687 2017-11-12 14:34 usr/lib64/firefox-57.0/application.ini
-rw-r--r-- root/root       681 2017-11-12 15:02 usr/lib64/firefox-57.0/updater.ini
drwxr-xr-x root/root         0 2017-11-17 08:48 usr/lib64/firefox-57.0/icons/
-rw-r--r-- root/root      4030 2017-11-12 14:01 usr/lib64/firefox-57.0/icons/updater.png
-rw-r--r-- root/root       825 2017-11-12 14:01 usr/lib64/firefox-57.0/Throbber-small.gif
-rwxr-xr-x root/root    269592 2017-11-12 15:02 usr/lib64/firefox-57.0/libnspr4.so
-rwxr-xr-x root/root   1029904 2017-11-12 15:02 usr/lib64/firefox-57.0/libmozsqlite3.so
-rwxr-xr-x root/root    187632 2017-11-12 15:02 usr/lib64/firefox-57.0/firefox-bin
-rwxr-xr-x root/root    250448 2017-11-12 15:02 usr/lib64/firefox-57.0/crashreporter
-rw-r--r-- root/root       898 2017-11-12 15:02 usr/lib64/firefox-57.0/libsoftokn3.chk
-rwxr-xr-x root/root    176984 2017-11-12 15:02 usr/lib64/firefox-57.0/libsmime3.so
-rwxr-xr-x root/root     14528 2017-11-12 15:02 usr/lib64/firefox-57.0/libmozgtk.so
-rwxr-xr-x root/root    266424 2017-11-12 15:02 usr/lib64/firefox-57.0/libsoftokn3.so
-rwxr-xr-x root/root      8915 2017-11-12 14:01 usr/lib64/firefox-57.0/run-mozilla.sh
-rw-r--r-- root/root         0 2017-11-12 14:31 usr/lib64/firefox-57.0/chrome.manifest
-rw-r--r-- root/root      4003 2017-11-12 14:01 usr/lib64/firefox-57.0/crashreporter.ini
-rw-r--r-- root/root  10962944 2017-11-12 14:01 usr/lib64/firefox-57.0/icudt59l.dat
-rw-r--r-- root/root      1449 2017-11-12 15:11 usr/lib64/firefox-57.0/libxul.so.sig
-rw-r--r-- root/root      1449 2017-11-12 15:11 usr/lib64/firefox-57.0/firefox.sig
-rw-r--r-- root/root      1449 2017-11-12 15:11 usr/lib64/firefox-57.0/firefox-bin.sig
-rw-r--r-- root/root      1449 2017-11-12 15:11 usr/lib64/firefox-57.0/plugin-container.sig
+ echo 'Slackware package "/tmp/mozilla-firefox-57.0-x86_64-1ro.tgz" created.'
Slackware package "/tmp/mozilla-firefox-57.0-x86_64-1ro.tgz" created.
+ '[' N = Y ']'

Last edited by ruario; 11-17-2017 at 02:27 AM. Reason: Provided a sample repackage log
 
3 members found this post helpful.
Old 11-17-2017, 02:46 AM   #23
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by adriv View Post
OK, Thanks.
BTW, I changed the locale just now, but then it complains
Code:
Could not work out the latest version; exiting
I downloaded your tweaked version of the script. Two things:
  1. You do not need to edit the script to set the language (in fact, it is better not to)
  2. The language you selected ('nl-NL') was not valid, hence the error

These languages are not the same as language/locale codes in Slackware. It is Firefox's own list of supported languages and you must use their naming scheme. You can choose between any of the following: ach, af, ak, ar, as, ast, be, bg, bn-BD, bn-IN, br, bs, ca, cs, csb, cy, da, de, el, en-GB, en-US, en-ZA, eo, es-AR, es-CL, es-ES, es-MX, et, eu, fa, ff, fi, fr, fy-NL, ga-IE, gd, gl, gu-IN, he, hi-IN, hr, hu, hy-AM, id, is, it, ja, kk, km, kn, ko, ku, lg, lij, lt, lv, mai, mk, ml, mr, nb-NO, nl, nn-NO, nso, or, pa-IN, pl, pt-BR, pt-PT, rm, ro, ru, si, sk, sl, son, sq, sr, sv-SE, ta-LK, ta, te, th, tr, uk, vi, xpi, zh-CN, zh-TW, zu

To select Netherlands Dutch, you therefore want simply 'nl' and you can select it on the fly like this:

Code:
$ FFLANG=nl bash latest-firefox.sh
Or better yet, set this variable (FFLANG) in a suitable location (like your ~/.bashrc) and you will never have to manually define it again. This is better than editing the script because if in the future there is a new/updated version of the script it will just work, without the need to edit the new version.

Last edited by ruario; 11-17-2017 at 02:56 AM. Reason: spelling
 
2 members found this post helpful.
Old 11-17-2017, 02:56 AM   #24
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by montagdude View Post
I am trying Firefox 57 using the latest-firefox.sh script too. It's very fast! Thanks for the script, ruario.
I wrote this script originally to satisfy my own itch (having new versions of Firefox readily available to do comparitive tests against Opera) and posted on the forums almost on a whim. I am somewhat amazed at how many people seem to use it, that it continues to work with very little maintenance and that I am now probably best known on these forums for this script rather than my more direct work on Opera and Vivaldi.
 
2 members found this post helpful.
Old 11-17-2017, 05:02 AM   #25
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; Slackware64-current (VM); Debian 12 (VM)
Posts: 8,290
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by ruario View Post
I am somewhat amazed at how many people seem to use it
Another grateful user here. Thanks.
 
1 members found this post helpful.
Old 11-17-2017, 06:07 AM   #26
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Thumbs up Member response

Hi,

I do use ruario's script and find it very useful. Only issue that I have are with Mozilla and their ever changing manner in which the extensions are handled.

Many thanks to you ruario!

Hope this helps.
Have fun enjoy!
 
Old 11-17-2017, 06:35 AM   #27
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,212

Rep: Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936
Just tried ruario's script, it works great. Also the new Firefox is a massive improvement in terms of performance on my machine. I'm generally lazy and prefer to just use what Slackware ships with, but for me this was worth moving on from ESR. The only problem is the lack of replacements for certain extensions, but I suppose these will come with time.
 
1 members found this post helpful.
Old 11-17-2017, 07:31 AM   #28
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by ruario View Post
I wrote this script originally to satisfy my own itch (having new versions of Firefox readily available to do comparitive tests against Opera) and posted on the forums almost on a whim. I am somewhat amazed at how many people seem to use it, that it continues to work with very little maintenance and that I am now probably best known on these forums for this script rather than my more direct work on Opera and Vivaldi.
If it makes you feel any better, I think of you primarily as a Vivaldi developer.
 
1 members found this post helpful.
Old 11-17-2017, 07:33 AM   #29
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,212

Rep: Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936
The new container tabs are a nice touch for people that need to log into the same service under different identities. There's no longer any need to run two browsers for that purpose
 
Old 11-17-2017, 08:21 AM   #30
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
I just updated Firefox on my Android up to version 57.0, and it's also much faster. I wonder if it's sharing the same fancy new Rust programming language or if they are doing something else. I previously used other browsers on mobile that were much faster than (old) Firefox and Chrome, but they sometimes had problems loading pages or content.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] latest-chrome.sh problem (ruario) dsotm Slackware 8 03-10-2016 09:51 PM
Ruario's latest-firefox error esteeven Slackware 30 12-22-2015 12:23 AM
Problems running ruario's latest-chrome dsotm Slackware 3 01-19-2014 10:53 AM
[SOLVED] Firefox 21 and Ruario's latest-firefox script neymac Slackware 14 12-19-2013 10:25 PM
Ubuntu "9.04" EeePC 1000H latest Firefox latest Flash unreliable DalePace Linux - Laptop and Netbook 1 08-23-2009 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration