/[smeserver]/rpms/e-smith-samba/sme10/e-smith-samba-2.6.0-bz11348-user-create-profiledir.patch
ViewVC logotype

Contents of /rpms/e-smith-samba/sme10/e-smith-samba-2.6.0-bz11348-user-create-profiledir.patch

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


Revision 1.1 - (show annotations) (download)
Mon Feb 15 06:38:18 2021 UTC (3 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-samba-2_6_0-19_el7_sme, e-smith-samba-2_6_0-18_el7_sme, e-smith-samba-2_6_0-25_el7_sme, e-smith-samba-2_6_0-17_el7_sme, e-smith-samba-2_6_0-20_el7_sme, e-smith-samba-2_6_0-23_el7_sme, e-smith-samba-2_6_0-26_el7_sme, e-smith-samba-2_6_0-21_el7_sme, e-smith-samba-2_6_0-24_el7_sme, e-smith-samba-2_6_0-27_el7_sme, e-smith-samba-2_6_0-28_el7_sme, e-smith-samba-2_6_0-22_el7_sme, HEAD
* Mon Feb 15 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-17.sme
- allow using user-create-profiledir action with temp or package-update events  [SME: 11348]

1 diff -Nur e-smith-samba-2.6.0.old/root/etc/e-smith/events/actions/user-create-profiledir e-smith-samba-2.6.0/root/etc/e-smith/events/actions/user-create-profiledir
2 --- e-smith-samba-2.6.0.old/root/etc/e-smith/events/actions/user-create-profiledir 2016-02-05 12:16:12.000000000 -0500
3 +++ e-smith-samba-2.6.0/root/etc/e-smith/events/actions/user-create-profiledir 2021-02-15 01:35:29.519000000 -0500
4 @@ -30,7 +30,7 @@
5
6 my @users = ('admin', map { $_->key } $adb->users);
7
8 -my @newusers = ($event eq "post-upgrade") ? @users : $ARGV[1] ;
9 +my @newusers = ( not defined $ARGV[1] ) ? @users : $ARGV[1] ;
10
11 foreach my $user ( @newusers )
12 {

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