mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-30 12:03:18 -04:00
13 lines
452 B
Plaintext
13 lines
452 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
echo "**** Adding r repo ****"
|
|
if ! dpkg -l | grep gnupg > /dev/null; then
|
|
apt-get update && apt-get install -y gnupg
|
|
fi
|
|
|
|
if [ ! -f "/etc/apt/sources.list.d/r.list" ]; then
|
|
curl -s https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | apt-key add -
|
|
source /etc/lsb-release
|
|
echo "deb https://cloud.r-project.org/bin/linux/ubuntu ${DISTRIB_CODENAME}-cran40/" > /etc/apt/sources.list.d/r.list
|
|
fi
|