blob: 76ab05ba013bfa11b4a3e84c46c7382d406d994f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
#!/bin/bash
# This file is in the public domain.
set -eu
source functions.sh
source config/user.conf
source config/internal.conf
detect_distro
# Program versions
PG_VERSION=15
## Update
apt update
## General requirements
apt install uuid-runtime \
curl \
jq \
wget \
nginx \
postgresql-${PG_VERSION} \
postgresql-client-${PG_VERSION} \
dbconfig-pgsql \
certbot \
python3-certbot-nginx -y
## Add GNU Taler deb.taler.net to /etc/apt/sources.list
say "Adding GNU Taler apt repository"
say "Detected distro $DISTRO"
case $DISTRO in
debian) # TODO stable again when it is back ?
echo "deb [signed-by=/etc/apt/keyrings/taler-systems.gpg] https://deb.taler.net/apt/debian bookworm main" >/etc/apt/sources.list.d/taler.list
;;
ubuntu)
echo "deb [signed-by=/etc/apt/keyrings/taler-systems.gpg] https://deb.taler.net/apt/ubuntu stable main" >/etc/apt/sources.list.d/taler.list
;;
*)
say "Unsupported distro: $DISTRO"
exit 1
;;
esac
wget -P /etc/apt/keyrings https://taler.net/taler-systems.gpg
## Specific GNU Taler packages
apt update
apt install taler-exchange \
taler-merchant \
taler-harness \
taler-wallet-cli \
libeufin-bank \
libeufin-nexus -y
|