Sophie

Sophie

distrib > Mageia > 8 > aarch64 > by-pkgid > b9e6fbcc49110a14980c3296ef8bcea6 > scriptlet

bacula-fd-9.6.7-2.mga8.aarch64.rpm

PREUN

/bin/sh
/usr/share/rpm-helper/del-service bacula $1 bacula-fd

POSTIN

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

/usr/bin/systemd-tmpfiles --create bacula-fd.conf 

/usr/share/rpm-helper/add-service bacula $1 bacula-fd