/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.1-bz11766-group-modify-unix.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme10/e-smith-base-5.8.1-bz11766-group-modify-unix.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Nov 23 05:07:41 2021 UTC (2 years, 11 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-base-5_8_1-8_el7_sme, e-smith-base-5_8_1-5_el7_sme, e-smith-base-5_8_1-29_el7_sme, e-smith-base-5_8_1-12_el7_sme, e-smith-base-5_8_1-31_el7_sme, e-smith-base-5_8_1-28_el7_sme, e-smith-base-5_8_1-13_el7_sme, e-smith-base-5_8_1-21_el7_sme, e-smith-base-5_8_1-24_el7_sme, e-smith-base-5_8_1-4_el7_sme, e-smith-base-5_8_1-7_el7_sme, e-smith-base-5_8_1-18_el7_sme, e-smith-base-5_8_1-6_el7_sme, e-smith-base-5_8_1-9_el7_sme, e-smith-base-5_8_1-10_el7_sme, e-smith-base-5_8_1-23_el7_sme, e-smith-base-5_8_1-17_el7_sme, e-smith-base-5_8_1-14_el7_sme, e-smith-base-5_8_1-11_el7_sme, e-smith-base-5_8_1-22_el7_sme, e-smith-base-5_8_1-15_el7_sme, e-smith-base-5_8_1-16_el7_sme, e-smith-base-5_8_1-19_el7_sme, e-smith-base-5_8_1-26_el7_sme, e-smith-base-5_8_1-25_el7_sme, e-smith-base-5_8_1-27_el7_sme, e-smith-base-5_8_1-20_el7_sme, e-smith-base-5_8_1-30_el7_sme, HEAD
* Tue Nov 23 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.8.1-4.sme
- allow group-modify-unix on update event [SME: 11766]

1 jpp 1.1 diff -Nur --no-dereference e-smith-base-5.8.1.old/root/etc/e-smith/events/actions/group-modify-unix e-smith-base-5.8.1/root/etc/e-smith/events/actions/group-modify-unix
2     --- e-smith-base-5.8.1.old/root/etc/e-smith/events/actions/group-modify-unix 2014-03-23 22:47:24.000000000 -0400
3     +++ e-smith-base-5.8.1/root/etc/e-smith/events/actions/group-modify-unix 2021-11-23 00:04:55.910000000 -0500
4     @@ -42,15 +42,15 @@
5     my $event = shift || die "Event name arg missing\n";;
6     my @groups;
7    
8     -if ($event eq 'post-upgrade')
9     +if ( scalar @ARGV )
10     {
11     - @groups = $a->groups;
12     + @groups = map { $a->get($_); } @ARGV;
13     }
14     else
15     {
16     - die "Group name arg missing\n" unless scalar @ARGV;
17     - @groups = map { $a->get($_); } @ARGV;
18     + @groups = $a->groups;
19     }
20     +
21     foreach my $group (@groups)
22     {
23     my $groupName = $group->key;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed