diff options
author | Mauro Sardara <msardara@cisco.com> | 2020-10-02 14:18:28 +0200 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2020-10-02 16:10:07 +0200 |
commit | 97ba3781b56a23169f4c35453c18c132bed6648e (patch) | |
tree | b7d93df47e9cb648c73c5a13af09d21d064a0fa8 /scripts/build-packages.sh | |
parent | 964ffb40b4a1d93d88cfadaa53fc050ac67e443e (diff) |
[HICN-643] Fix scripts for publishing release.
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: If01c46dcf8981385e544c9cc6c31ce1efe3c2d96
Diffstat (limited to 'scripts/build-packages.sh')
-rw-r--r-- | scripts/build-packages.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/build-packages.sh b/scripts/build-packages.sh index 3e19138ed..abbb2565a 100644 --- a/scripts/build-packages.sh +++ b/scripts/build-packages.sh @@ -113,8 +113,7 @@ setup_fdio_repo() { DISTRIB_ID=${1} if [ "${DISTRIB_ID}" == "ubuntu" ]; then - rm -r /etc/apt/sources.list.d/* - curl -s ${PACKAGECLOUD_RELEASE_REPO_DEB} | sudo bash + curl -s ${PACKAGECLOUD_RELEASE_REPO_DEB} | sudo bash elif [ "${DISTRIB_ID}" == "centos" ]; then curl -s ${PACKAGECLOUD_RELEASE_REPO_RPM} | sudo bash curl ${LATEST_EPEL_REPO} > epel-release-latest-7.noarch.rpm |