mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
11 lines
361 B
Plaintext
11 lines
361 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
ppa="ppa:ondrej/php"
|
|
if ! grep -q "^deb .*${ppa}" /etc/apt/sources.list /etc/apt/sources.list.d/*; then
|
|
echo "**** adding ppa ondrej/php ****"
|
|
if ! dpkg -l | grep software-properties-common > /dev/null; then
|
|
apt-get update && apt-get install -y software-properties-common
|
|
fi
|
|
add-apt-repository ${ppa} -y
|
|
fi
|