From 524face1024362c79f33f160af3d4a8530e498bb Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Mon, 15 Feb 2021 18:31:33 +0100 Subject: [PATCH] remove leftovers --- nextcloud_update.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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