diff options
author | Junfeng Wang <drenfong.wang@intel.com> | 2019-09-18 18:36:27 +0800 |
---|---|---|
committer | Junfeng Wang <drenfong.wang@intel.com> | 2019-09-18 18:39:13 +0800 |
commit | 0b928c597f5cfebe12f7158c02a6f3174fc4b8d3 (patch) | |
tree | a564830f10c3700965f7484a7718eb35cab1dcfd /jjb | |
parent | 09fbdb1ef6643525bacd5b6a8dd874327c89eeda (diff) |
delete the master fdio repo in the CI for sweetcomb
Change-Id: Id165a3290cbad69873d2bd222fdf16a7959867b1
Signed-off-by: Junfeng Wang <drenfong.wang@intel.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/sweetcomb/include-raw-sweetcomb-build.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/jjb/sweetcomb/include-raw-sweetcomb-build.sh b/jjb/sweetcomb/include-raw-sweetcomb-build.sh index b03b0ef53..639d7fd5e 100644 --- a/jjb/sweetcomb/include-raw-sweetcomb-build.sh +++ b/jjb/sweetcomb/include-raw-sweetcomb-build.sh @@ -22,12 +22,20 @@ function setup { echo "Deleting: /etc/apt/sources.list.d/99fd.io.list" sudo rm /etc/apt/sources.list.d/99fd.io.list fi + if [ -f /etc/apt/sources.list.d/fdio_master.list ];then + echo "Deleting: /etc/apt/sources.list.d/fdio_master.list" + sudo rm /etc/apt/sources.list.d/fdio_master.list + fi curl -s https://packagecloud.io/install/repositories/fdio/${STREAM}/script.deb.sh | sudo bash elif [ "$OS_ID" == "centos" ]; then if [ -f /etc/yum.repos.d/fdio-master.repo ]; then echo "Deleting: /etc/yum.repos.d/fdio-master.repo" sudo rm /etc/yum.repos.d/fdio-master.repo fi + if [ -f /etc/yum.repos.d/fdio_master.repo ]; then + echo "Deleting: /etc/yum.repos.d/fdio_master.repo" + sudo rm /etc/yum.repos.d/fdio_master.repo + fi curl -s https://packagecloud.io/install/repositories/fdio/${STREAM}/script.rpm.sh | sudo bash fi fi |