Changeset 905 for dasscm


Ignore:
Timestamp:
Jun 27, 2010, 12:13:59 PM (14 years ago)
Author:
joergs
Message:

bugfixes: rpm defines for nrpe and bash completion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dasscm/trunk/dasscm.spec

    r904 r905  
    5353install -m 640 etc/dasscm.conf $RPM_BUILD_ROOT/etc/
    5454mkdir -p $RPM_BUILD_ROOT/var/lib/dasscm/
    55 #if -d $RPM_BUILD_ROOT/etc/subversion/
    56 #       install -m 644 subversion-servers.dass-it $RPM_BUILD_ROOT/etc/subversion/servers.dass-it
    57 #fi
    58 if [ -d /etc/bash_completion.d/ ]; then
     55%if %(test -d /etc/bash_completion.d/ && echo 1 || echo 0)
    5956    %define use_bash_completion 1
    6057    mkdir -p $RPM_BUILD_ROOT/etc/bash_completion.d/
    6158    install -m 644 etc/bash_completion.d/bash_completion_dasscm.sh $RPM_BUILD_ROOT/etc/bash_completion.d/dasscm.sh
    62 fi
    63 #if [ -d /etc/nagios/nrpe.d/ ]; then
    64 %if %(test -d /etc/nagios/nrpe.d/)
     59%endif
     60%if %(test -d /etc/nagios/nrpe.d/ && echo 1 || echo 0)
    6561    %define use_nagios_nrpe_d 1
    6662    mkdir -p $RPM_BUILD_ROOT/etc/nagios/nrpe.d/
    6763    install -m 644 etc/nagios/nrpe.d/nrpe-dasscm.cfg $RPM_BUILD_ROOT/etc/nagios/nrpe.d/dasscm.cfg
    6864%endif
    69 #fi
    70 
    7165
    7266
Note: See TracChangeset for help on using the changeset viewer.