Skip to content

Commit

Permalink
Fixed requiring packages for installation
Browse files Browse the repository at this point in the history
- If firewall is enabled, firewall package is required for installation
- If SSH service is enabled, SSH package is required for installation
- This change fixes the behavior in a way that these requirements
  are removed if service is diabled
  • Loading branch information
kobliha committed Jan 18, 2013
1 parent 3495c39 commit 5de8507
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/clients/firewall_stage1_proposal.ycp
Expand Up @@ -229,6 +229,7 @@ started by the installer automatically if needed.</p>")
{
y2milestone("Disabling FW");
SuSEFirewall4Network::SetEnabled1stStage( false );
PackagesProposal::RemoveResolvables(PROPOSAL_ID, `package, ["SuSEfirewall2"]);
}
else if (chosen_link == LINK_ENABLE_SSH)
{
Expand All @@ -240,6 +241,7 @@ started by the installer automatically if needed.</p>")
{
y2milestone("Disabling SSH");
SuSEFirewall4Network::SetSshEnabled1stStage( false );
PackagesProposal::RemoveResolvables(PROPOSAL_ID, `package, ["openssh"]);
}
else if (chosen_link == LINK_ENABLE_VNC)
{
Expand Down

0 comments on commit 5de8507

Please sign in to comment.