From c549015370b92298f180a0ec94f37ed379a6cd7b Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Tue, 21 Jul 2020 18:27:07 +0530 Subject: [PATCH] Fix warning in cleanup_lists on first run on ubuntu-20.04 --- src/scripts/linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index fffe5215..327d4d57 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -30,7 +30,7 @@ cleanup_lists() { if [ ! -e /etc/apt/sources.list.d.save ]; then sudo mv /etc/apt/sources.list.d /etc/apt/sources.list.d.save sudo mkdir /etc/apt/sources.list.d - sudo mv /etc/apt/sources.list.d.save/*ondrej*.list /etc/apt/sources.list.d/ + sudo mv /etc/apt/sources.list.d.save/*ondrej*.list /etc/apt/sources.list.d/ || true trap "sudo mv /etc/apt/sources.list.d.save/*.list /etc/apt/sources.list.d/" exit fi }