Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > eece0df79fd6b5a653a0dea979f87ecb > scriptlet

bacula-tray-monitor-5.0.3-3.x86_64.rpm

POSTIN

/bin/sh
 umask 0037; if [ -s /etc/bacula/.pw.sed ]; then for i in /etc/bacula/tray-monitor.conf /etc/bacula/tray-monitor.conf.rpmnew; do if [ -s $i ]; then sed -f /etc/bacula/.pw.sed $i > $i.tmp; sed -e '/SubSys[[:space:]]*Directory/I d' $i.tmp > $i; rm -f $i.tmp; fi; done; fi; 

#%post -n nagios-check_bacula
#/etc/rc.d/init.d/nagios condrestart > /dev/null 2>&1 || :
#
#%postun -n nagios-check_bacula
#if [ "$1" = "0" ]; then
#    /etc/rc.d/init.d/nagios condrestart > /dev/null 2>&1 || :
#fi