Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer authored Aug 8, 2024
1 parent e30df5d commit 4c0d671
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/containers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,23 +284,23 @@ impl Component for ContainersModel {
}

if self.enable_podman {
commands.push("sudo apt-get -y podman");
commands.push("sudo apt-get install -y podman");
}

if self.enable_distrobox && (self.enable_docker || self.enable_podman) {
commands.push("sudo pacstall -PIQ distrobox");
commands.push("pacstall -PIQ distrobox");
}

if self.enable_apptainer {
commands.push("sudo pacstall -PIQ apptainer");
commands.push("pacstall -PIQ apptainer");
}

if self.enable_qemu {
commands.push("sudo apt-get install qemu-system qemu-user-static qemu-utils");
commands.push("sudo apt-get install -y qemu-system qemu-user-static qemu-utils");
}

if self.enable_virtualbox {
commands.push("sudo apt-get install virtualbox");
commands.push("sudo apt-get install -y virtualbox");
}

COMMANDS.write_inner().insert("containers", commands);
Expand Down

0 comments on commit 4c0d671

Please sign in to comment.