View | Details | Raw Unified | Return to bug 269891
Collapse All | Expand All

(-)LogProf.ycp (+8 lines)
Lines 21-26 Link Here
21
  string type   = "";
21
  string type   = "";
22
  string status = "";
22
  string status = "";
23
23
24
  // no command line support #269891
25
  if (size(WFM::Args()) > 0 )
26
  {
27
    import "CommandLine";
28
    CommandLine::Init($[], WFM::Args());
29
    return;
30
  }
31
24
  if (!installAppArmorPackages()) {
32
  if (!installAppArmorPackages()) {
25
    return;
33
    return;
26
  }
34
  }
(-)SD_DeleteProfile.ycp (+9 lines)
Lines 68-73 Link Here
68
// YEAH BABY RUN BABY RUN
68
// YEAH BABY RUN BABY RUN
69
//
69
//
70
any ret = nil;
70
any ret = nil;
71
72
// no command line support #269891
73
if (size(WFM::Args()) > 0 )
74
{
75
    import "CommandLine";
76
    CommandLine::Init($[], WFM::Args());
77
    return ret;
78
}
79
71
if (!installAppArmorPackages()) {
80
if (!installAppArmorPackages()) {
72
  return ret;
81
  return ret;
73
}
82
}
(-)SD_EditProfile.ycp (+8 lines)
Lines 70-75 Link Here
70
//
70
//
71
any ret = nil;
71
any ret = nil;
72
72
73
// no command line support #269891
74
if (size(WFM::Args()) > 0 )
75
{
76
    import "CommandLine";
77
    CommandLine::Init($[], WFM::Args());
78
    return ret;
79
}
80
73
if (!installAppArmorPackages()) {
81
if (!installAppArmorPackages()) {
74
  return ret;
82
  return ret;
75
}
83
}
(-)SD_AddProfile.ycp (+10 lines)
Lines 91-97 Link Here
91
//
91
//
92
// YEAH BABY RUN BABY RUN
92
// YEAH BABY RUN BABY RUN
93
//
93
//
94
94
any ret = nil;
95
any ret = nil;
96
97
// no command line support #269891
98
if (size(WFM::Args()) > 0 )
99
{
100
    import "CommandLine";
101
    CommandLine::Init($[], WFM::Args());
102
    return ret;
103
}
104
95
if (!installAppArmorPackages()) {
105
if (!installAppArmorPackages()) {
96
  return ret;
106
  return ret;
97
}
107
}
(-)GenProf.ycp (+8 lines)
Lines 21-26 Link Here
21
  string type   = "";
21
  string type   = "";
22
  string status = "";
22
  string status = "";
23
23
24
  // no command line support #269891
25
  if (size(WFM::Args()) > 0 )
26
  {
27
	import "CommandLine";
28
	CommandLine::Init($[], WFM::Args());
29
	return;
30
  }
31
24
  if (!installAppArmorPackages()) {
32
  if (!installAppArmorPackages()) {
25
    return;
33
    return;
26
  }
34
  }
(-)SD_Report.ycp (+9 lines)
Lines 84-89 Link Here
84
}
84
}
85
85
86
any ret = nil;
86
any ret = nil;
87
88
// no command line support #269891
89
if (size(WFM::Args()) > 0 )
90
{
91
    import "CommandLine";
92
    CommandLine::Init($[], WFM::Args());
93
    return ret;
94
}
95
87
if (!installAppArmorPackages()) {
96
if (!installAppArmorPackages()) {
88
  return ret;
97
  return ret;
89
}
98
}
(-)subdomain.ycp (+8 lines)
Lines 23-28 Link Here
23
include "subdomain/apparmor_packages.ycp";
23
include "subdomain/apparmor_packages.ycp";
24
include "subdomain/sd-config.ycp";
24
include "subdomain/sd-config.ycp";
25
25
26
// no command line support #269891
27
if (size(WFM::Args()) > 0 )
28
{
29
    import "CommandLine";
30
    CommandLine::Init($[], WFM::Args());
31
    return;
32
}
33
26
if (!installAppArmorPackages()) {
34
if (!installAppArmorPackages()) {
27
  return;
35
  return;
28
}
36
}

Return to bug 269891