Pale Moon for Linux Installer 0.2.4

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
GlottalStopRhotacism

Pale Moon for Linux Installer 0.2.4

Unread post by GlottalStopRhotacism » 2018-02-24, 00:13

pminstaller-0.2.4.tar.bz2 :

http://linux.palemoon.org/datastore/rel ... .4.tar.bz2

SHA-256 checksum: 7c18656a6ff6d49bcec9f4c3d637eb44f4dd4dac3c059037a9a89c555ec9b8f6

which verifies

contains :

README

pminstaller.sh

to view :

gedit pminstaller.sh

resulted in :

"The file you opened has some invalid characters. If you continue editing this file you could corrupt this document. You can also choose another character encoding and try again."

Code: Select all

#!/bin/bash
unset CDPATH
if [[ ! "$(sed -r s/[a-f0-9]{64}// "$0" | sha256sum)" =~ ee4e92c5b0f7d6377e8bf642dbbee8e6d36c93bd4f7dc8dd5d9eb29f1a6c1554 ]]; then
echo "The installer is damaged! Please redownload the installer and try again."
exit 2
fi
case $(uname -m) in
i?86)
a1=i686
;;
x86_64)
a1=x86_64
;;
*)
echo "Unsupported architecture."
exit 1
;;
esac
a0=$(mktemp -d /tmp/pminstaller.XXXXXX)
tail -n +25 "$0" | tar -xJf - -C "$a0" || exit 2
PATH="$a0/bin/$a1:$a0/tools:$PATH"
runasroot "$a0/installer.sh"
rm -rf "$a0"
exit
was all I could read , everything else was HEX

:sick: :?:

tooshorttoolong
Fanatic
Fanatic
Posts: 137
Joined: 2017-09-11, 14:28

Re: Pale Moon for Linux Installer 0.2.4

Unread post by tooshorttoolong » 2018-02-25, 08:58

This is normal.

If you look at this line:

Code: Select all

tail -n +25 "$0" | tar -xJf - -C "$a0" || exit 2
the script takes everything starting from line 25 and unpacks it with tar.

Locked