summaryrefslogtreecommitdiffstats
path: root/hammer.py
diff options
context:
space:
mode:
authorWlodek Wencel <wlodek@isc.org>2023-04-18 17:58:46 +0200
committerWlodzimierz Wencel <wlodek@isc.org>2023-04-19 17:51:15 +0200
commitc474c0981e9297dcc9c2b0433fa9264fb1c40ec4 (patch)
tree479ec5d9e776d9eaea5859438af33e825b7dab2e /hammer.py
parent[#2836] hammer update for rhel 9 (diff)
downloadkea-c474c0981e9297dcc9c2b0433fa9264fb1c40ec4.tar.xz
kea-c474c0981e9297dcc9c2b0433fa9264fb1c40ec4.zip
[#2836] remove unnecessary os.unlink
Diffstat (limited to 'hammer.py')
-rwxr-xr-xhammer.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/hammer.py b/hammer.py
index 0ba2a12aa9..b3c3703648 100755
--- a/hammer.py
+++ b/hammer.py
@@ -1078,7 +1078,6 @@ def _install_gtest_sources():
execute('sudo mkdir -p /usr/src')
execute('sudo tar -C /usr/src -zxf ~/.hammer-tmp/gtest.tar.gz')
execute(f'sudo ln -sf /usr/src/googletest-release-{gtest_version} /usr/src/googletest')
- os.unlink('~/.hammer-tmp/gtest.tar.gz')
execute('rm -rf ~/.hammer-tmp')
@@ -2610,7 +2609,6 @@ def _install_vagrant(ver=RECOMMENDED_VAGRANT_VERSION, upgrade=False):
cmd += 'https://releases.hashicorp.com/vagrant/%s/%s' % (ver, rpm)
execute(cmd)
execute('sudo rpm -i ~/.hammer-tmp/%s' % rpm)
- os.unlink('~/.hammer-tmp/%s' % rpm)
execute('rm -rf ~/.hammer-tmp')
elif system in ['debian', 'ubuntu']:
if upgrade:
@@ -2621,7 +2619,6 @@ def _install_vagrant(ver=RECOMMENDED_VAGRANT_VERSION, upgrade=False):
cmd += 'https://releases.hashicorp.com/vagrant/%s/%s' % (ver, deb)
execute(cmd)
execute('sudo dpkg -i ~/.hammer-tmp/%s' % deb)
- os.unlink('~/.hammer-tmp/%s' % deb)
execute('rm -rf ~/.hammer-tmp')
elif system in ['arch']:
pass