Ignore:
Timestamp:
Nov 30, 2012, 11:08:25 AM (12 years ago)
Author:
joergs
Message:

better handling of extra files. always integrate /etc/nagios/nrpe.d/dasscm.cfg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dasscm/trunk/dasscm.install.sh

    r1121 r1123  
    1010fi
    1111
    12 if ! [ -d "${DESTDIR}" ]; then
    13     echo "failed: DESTDIR ${DESTDIR} is not accessable. Giving up"
    14     exit 1
    15 fi
    16 
     12# if ! [ -d "${DESTDIR}" ]; then
     13#     echo "failed: DESTDIR ${DESTDIR} is not accessable. Giving up"
     14#     exit 1
     15# fi
     16mkdir -p ${DESTDIR}
    1717
    1818install -d ${DESTDIR}/var/lib/dasscm/
     
    3131fi
    3232
    33 if test -d /etc/nagios/nrpe.d/; then
     33#if test -d /etc/nagios/nrpe.d/; then
    3434    mkdir -p ${DESTDIR}/etc/nagios/nrpe.d/
    3535    install -m 644 etc/nagios/nrpe.d/nrpe-dasscm.cfg ${DESTDIR}/etc/nagios/nrpe.d/dasscm.cfg
    36 fi
     36#fi
    3737
    3838install -d ${DESTDIR}/etc/profile.d/
Note: See TracChangeset for help on using the changeset viewer.