Overview
| Comment: | Minor tweak to POSIX install Bash script. Revise (and make consistent) argument order for GPG version detection. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
a4f23fa7460f1fa1a563c4263c29ad30 |
| User & Date: | mistachkin on 2017-12-21 08:10:10 |
| Other Links: | manifest | tags |
Context
|
2018-01-03
| ||
| 22:19 | Add support for having an API keys file that is loaded at package startup time. check-in: e811435430 user: mistachkin tags: trunk | |
|
2017-12-21
| ||
| 08:10 | Minor tweak to POSIX install Bash script. Revise (and make consistent) argument order for GPG version detection. check-in: a4f23fa746 user: mistachkin tags: trunk | |
|
2017-12-20
| ||
| 00:51 | Add Bash scripts for installing the client on POSIX compliant systems. check-in: 5a5a932e2b user: mistachkin tags: trunk | |
Changes
Modified tools/pkgr_an_d_install.sh from [a4c9c84bf3] to [52453fa5b0].
| ︙ | ︙ | |||
17 18 19 20 21 22 23 | if [ ! -x "$(command -v wget)" ] && [ ! -x "$(command -v curl)" ]; then echo "The programs 'wget' and/or 'curl' are apparently not installed." echo "Please use 'apt-get install wget' (Linux) or 'brew install wget' (Mac)." exit 1 fi if [ -x "$(command -v gpg2)" ]; then | | | | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
if [ ! -x "$(command -v wget)" ] && [ ! -x "$(command -v curl)" ]; then
echo "The programs 'wget' and/or 'curl' are apparently not installed."
echo "Please use 'apt-get install wget' (Linux) or 'brew install wget' (Mac)."
exit 1
fi
if [ -x "$(command -v gpg2)" ]; then
PKGR_GPG_VER_OK=$(echo "puts [regexp -- {^gpg \(GnuPG\) 2\.[0123]\.} [exec gpg2 --version --homedir {}]]" | tclsh)
elif [ -x "$(command -v gpg)" ]; then
PKGR_GPG_VER_OK=$(echo "puts [regexp -- {^gpg \(GnuPG\) 2\.[0123]\.} [exec gpg --version --homedir {}]]" | tclsh)
else
echo "The program 'gpg2' (a.k.a. 'gpg') is apparently not installed."
echo "Please use 'apt-get install gnupg2' (Linux) or 'brew install gnupg' (Mac)."
exit 1
fi
if [ "$PKGR_GPG_VER_OK" != "1" ]; then
|
| ︙ | ︙ |