POSTIN
/bin/sh
# Adjust older configuration files that may have been modified so that they # point to the current location of the helper. cfg=/etc/oddjobd.conf.d/oddjobd-mkhomedir.conf if grep -q /usr/lib/oddjob/mkhomedir $cfg ; then sed -i 's^/usr/lib/oddjob/mkhomedir^/usr/libexec/oddjob/mkhomedir^g' $cfg fi if [ -f /var/lock/subsys/oddjobd ] ; then /bin/dbus-send --system --dest=com.redhat.oddjob /com/redhat/oddjob com.redhat.oddjob.reload fi exit 0