mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-08-23 22:14:07 +07:00
Add ppa:ondrej/php for all Ubuntu versions
This commit is contained in:
@ -42,7 +42,7 @@ add_ppa() {
|
||||
# Function to update the package lists.
|
||||
update_lists() {
|
||||
if [ ! -e /tmp/setup_php ]; then
|
||||
[ "$DISTRIB_RELEASE" = "20.04" ] && add_ppa ondrej/php >/dev/null 2>&1
|
||||
add_ppa ondrej/php >/dev/null 2>&1
|
||||
cleanup_lists
|
||||
sudo "$debconf_fix" apt-get update >/dev/null 2>&1
|
||||
echo '' | sudo tee /tmp/setup_php >/dev/null 2>&1
|
||||
|
Reference in New Issue
Block a user