]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
install-deps: Cope with nonexistent /etc/apt/sources.list.d/ceph-libboost1.72.list
authorSebastian Wagner <sebastian.wagner@suse.com>
Mon, 15 Feb 2021 10:42:03 +0000 (11:42 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Mon, 15 Feb 2021 10:42:03 +0000 (11:42 +0100)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
install-deps.sh

index 8db7d2081ddbbc4fd2ea6c90b5e1f9d6530cbffc..07259e84dc4e3b24826f09665aaa8d0e2ffe195f 100755 (executable)
@@ -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