fix title attribute update

tags/ipasserelle-base-0.2.65-1
Daniel Berteaud 13 years ago
parent 3dd1436fc3
commit b83567cee5
  1. 2
      ipasserelle-base.spec
  2. 5
      root/etc/e-smith/events/actions/ldap-update-info

@ -1,5 +1,5 @@
%define version 0.2.6 %define version 0.2.6
%define release 1.beta1 %define release 1.beta2
%define name ipasserelle-base %define name ipasserelle-base

@ -77,8 +77,9 @@ foreach my $acc (@accounts){
@mobile = ($mobile) unless ($mobile eq ''); @mobile = ($mobile) unless ($mobile eq '');
@extension = ($extension) unless ($extension eq ''); @extension = ($extension) unless ($extension eq '');
@fax = ($fax) unless ($fax eq ''); @fax = ($fax) unless ($fax eq '');
@titles = qw($function1 $function2 $function3 $function4) foreach ($function1, $function2, $function3, $function4){
unless ($function1 eq '' && $function2 eq '' && $function3 eq '' && $function4 eq ''); push @titles, $_ if ($_ ne '');
}
@dshell = ($dshell) unless ($dshell eq ''); @dshell = ($dshell) unless ($dshell eq '');
@preferredemail = ($preferredemail) unless ($preferredemail eq ''); @preferredemail = ($preferredemail) unless ($preferredemail eq '');
@web = ($web) unless ($web eq ''); @web = ($web) unless ($web eq '');

Loading…
Cancel
Save