remove leftovers

This commit is contained in:
Daniel Hansson 2021-02-15 18:31:33 +01:00 committed by GitHub
parent 9638a2a8f8
commit 524face102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,6 +112,15 @@ fi
# Ubuntu 16.04 is deprecated
check_distro_version
# Remove leftovers
if [ -f /root/php-upgrade.sh ]
then
rm -f /root/php-upgrade.sh
elif [ -f /tmp/php-upgrade.sh ]
then
rm -f /tmp/php-upgrade.sh
fi
# Hold PHP if Ondrejs PPA is used
print_text_in_color "$ICyan" "Fetching latest packages with apt..."
apt update -q4 & spinner_loading