Skip to content

Commit

Permalink
Actually download the newest version
Browse files Browse the repository at this point in the history
  • Loading branch information
HEPOSHEIKKI authored Jun 16, 2023
1 parent b6f4a78 commit cf46bfb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tavainstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if [[ $english = YES ]]; then
echo "Downloading firefox version-103"
echo "Please wait"
sleep 2s
wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/103.0.2/linux-x86_64/en-US/firefox-103.0.2.tar.bz2
wget "$(curl -ls "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64" | grep -oP '"(.*?)"' | sed 's/"//g')" -nv --show-progress
sleep 2s
echo "Extracting the firefox archive"
echo "Please wait"
Expand All @@ -78,7 +78,7 @@ if [[ $english = YES ]]; then
sudo touch $USER_HOME/.mozilla/firefox/$USER/user.js
sudo echo "user_pref(\"extensions.autoDisableScopes\", 0);" >> $USER_HOME/.mozilla/firefox/$USER/user.js
sudo mkdir $USER_HOME/.mozilla/firefox/$USER/extensions
wget https://addons.mozilla.org/firefox/downloads/file/3963431/web_eid_webextension-2.1.1.xpi -O $USER_HOME/.mozilla/firefox/$USER/extensions/{e68418bc-f2b0-4459-a9ea-3e72b6751b07}.xpi
wget https://addons.mozilla.org/firefox/downloads/file/3963431/web_eid_webextension-2.2.1.xpi -O $USER_HOME/.mozilla/firefox/$USER/extensions/{e68418bc-f2b0-4459-a9ea-3e72b6751b07}.xpi
wget https://addons.mozilla.org/firefox/downloads/file/3439907/pkcs11_module_loader-1.0.5.xpi -O $USER_HOME/.mozilla/firefox/$USER/extensions/{02274e0c-d135-45f0-8a9c-32b35110e10d}.xpi
echo "eID installed"
fi
Expand All @@ -104,7 +104,7 @@ else
echo "Laetagse alla firefoxi versioon-103"
echo "Palun oota"
sleep 2s
wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/103.0.2/linux-x86_64/en-US/firefox-103.0.2.tar.bz2
wget "$(curl -ls "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64" | grep -oP '"(.*?)"' | sed 's/"//g')" -nv --show-progress

sleep 2s
echo "Pakin firefoxi arhhiivi lahti"
Expand All @@ -130,7 +130,7 @@ else
sudo touch $USER_HOME/.mozilla/firefox/$USER/user.js
sudo echo "user_pref(\"extensions.autoDisableScopes\", 0);" >> $USER_HOME/.mozilla/firefox/$USER/user.js
sudo mkdir $USER_HOME/.mozilla/firefox/$USER/extensions
wget https://addons.mozilla.org/firefox/downloads/file/3963431/web_eid_webextension-2.1.1.xpi -O $USER_HOME/.mozilla/firefox/$USER/extensions/{e68418bc-f2b0-4459-a9ea-3e72b6751b07}.xpi
wget https://addons.mozilla.org/firefox/downloads/file/3963431/web_eid_webextension-2.2.1.xpi -O $USER_HOME/.mozilla/firefox/$USER/extensions/{e68418bc-f2b0-4459-a9ea-3e72b6751b07}.xpi
wget https://addons.mozilla.org/firefox/downloads/file/3439907/pkcs11_module_loader-1.0.5.xpi -O $USER_HOME/.mozilla/firefox/$USER/extensions/{02274e0c-d135-45f0-8a9c-32b35110e10d}.xpi
echo "eID installed"
fi
Expand Down

0 comments on commit cf46bfb

Please sign in to comment.