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 --- e-smith-samba-2.6.0.old/root/etc/e-smith/events/actions/user-create-profiledir 2016-02-05 12:16:12.000000000 -0500 +++ e-smith-samba-2.6.0/root/etc/e-smith/events/actions/user-create-profiledir 2021-02-15 01:35:29.519000000 -0500 @@ -30,7 +30,7 @@ my @users = ('admin', map { $_->key } $adb->users); -my @newusers = ($event eq "post-upgrade") ? @users : $ARGV[1] ; +my @newusers = ( not defined $ARGV[1] ) ? @users : $ARGV[1] ; foreach my $user ( @newusers ) {