diff --git a/nextcloud_update.sh b/nextcloud_update.sh index 69f6d55d..1aa01765 100644 --- a/nextcloud_update.sh +++ b/nextcloud_update.sh @@ -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