This commit is contained in:
Shivam Mathur 2020-03-25 07:31:36 +05:30
parent f58dc6eca1
commit 6c93dbd391
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -20,12 +20,6 @@ add_log() {
update_ppa() { update_ppa() {
if [ "$ppa_updated" = "false" ]; then if [ "$ppa_updated" = "false" ]; then
sudo "$debconf_fix" apt-get update >/dev/null 2>&1 sudo "$debconf_fix" apt-get update >/dev/null 2>&1
# if [[ "$version" =~ $old_versions ]]; then
# ppa="dotdeb-ubuntu-php*.list"
# else
# ppa="ondrej-ubuntu-php*.list"
# fi
# find /etc/apt/sources.list.d -type f -name "$ppa" -exec sudo "$debconf_fix" apt-fast update -o Dir::Etc::sourcelist="{}" ';' >/dev/null 2>&1
ppa_updated="true" ppa_updated="true"
fi fi
} }