mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
Revert "Fix LinuxTest package installation commands"
This reverts commit 82fb7b277d
.
This commit is contained in:
parent
82fb7b277d
commit
69e944d56a
1 changed files with 2 additions and 2 deletions
|
@ -31,9 +31,9 @@ class LinuxTest(Test):
|
|||
if proc.returncode != 0:
|
||||
raise Exception("docker run failed (linux stack)")
|
||||
if distro in ("ubuntu", "debian"):
|
||||
cmd = "apt install -y /opt/\\$(ls /opt | grep deb)"
|
||||
cmd = "apt install -y /opt/\$(ls /opt | grep deb)"
|
||||
elif distro in ("centos", "fedora", "rhel"):
|
||||
cmd = "dnf install -y /opt/\\$(ls /opt | grep rpm)"
|
||||
cmd = "dnf install -y /opt/\$(ls /opt | grep rpm)"
|
||||
proc = LinuxTest.docker_exec(distro, cmd)
|
||||
if proc.returncode != 0:
|
||||
raise Exception("docker exec apt install failed (linux stack)")
|
||||
|
|
Loading…
Reference in a new issue