From: Michal Nowikowski Date: Mon, 15 Apr 2019 06:03:50 +0000 (+0200) Subject: fixed adding cassandra repo for the second time X-Git-Tag: Kea-1.6.0-beta~262 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=351a58d8afbaf2a443063a916af6e2b7203acb15;p=thirdparty%2Fkea.git fixed adding cassandra repo for the second time --- diff --git a/hammer.py b/hammer.py index c5dacce0d0..35042086ad 100755 --- a/hammer.py +++ b/hammer.py @@ -868,7 +868,7 @@ def _install_cassandra_rpm(system, env, check_times): if not os.path.exists('/usr/bin/cassandra'): if system == 'centos': install_pkgs('yum-utils', env=env, check_times=check_times) - execute('sudo yum-config-manager --add-repo https://www.apache.org/dist/cassandra/redhat/311x/') + execute('sudo yum-config-manager --add-repo https://www.apache.org/dist/cassandra/redhat/311x/', raise_error=False) execute('sudo rpm --import https://www.apache.org/dist/cassandra/KEYS') pkgs = 'cassandra cassandra-tools libuv libuv-devel openssl' else: