mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 04:11:06 +07:00
Update all lists
This commit is contained in:
parent
527cd148c8
commit
fdfa901941
@ -19,8 +19,9 @@ add_log() {
|
|||||||
# Function to update php ppa
|
# Function to update php ppa
|
||||||
update_ppa() {
|
update_ppa() {
|
||||||
if [ "$ppa_updated" = "false" ]; then
|
if [ "$ppa_updated" = "false" ]; then
|
||||||
find /etc/apt/sources.list.d -type f -name 'ondrej-ubuntu-php*.list' -exec sudo DEBIAN_FRONTEND=noninteractive apt-fast update -o Dir::Etc::sourcelist="{}" ';' >/dev/null 2>&1
|
sudo "$debconf_fix" apt-get update >/dev/null 2>&1
|
||||||
ppa_updated="true"
|
#find /etc/apt/sources.list.d -type f -name 'ondrej-ubuntu-php*.list' -exec sudo DEBIAN_FRONTEND=noninteractive apt-fast update -o Dir::Etc::sourcelist="{}" ';' >/dev/null 2>&1
|
||||||
|
#ppa_updated="true"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user