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