From f1712373780a95407be6788542dffe139dcf2247 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Mon, 15 Feb 2021 11:42:03 +0100 Subject: [PATCH] install-deps: Cope with nonexistent /etc/apt/sources.list.d/ceph-libboost1.72.list Signed-off-by: Sebastian Wagner --- install-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-deps.sh b/install-deps.sh index 8db7d2081dd..07259e84dc4 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -177,7 +177,7 @@ function install_boost_on_ubuntu { local codename=$1 if apt -qq list ceph-libboost1.72-dev 2>/dev/null | grep -q installed; then $SUDO env DEBIAN_FRONTEND=noninteractive apt-get -y remove 'ceph-libboost.*1.72.*' - $SUDO rm /etc/apt/sources.list.d/ceph-libboost1.72.list + $SUDO rm -f /etc/apt/sources.list.d/ceph-libboost1.72.list fi local project=libboost local ver=1.73 -- 2.39.5