post_install() { . /etc/systemconfig sed -i -e "s/127.0.0.1/$dbhost/" /home/xymon/client/etc/xymonclient.cfg chown -R nobody /home/xymon #added so py bindings work with /home/mythtv/.mythtv/config.xml setfacl -m "u:nobody:--x" /home/mythtv/ } post_upgrade() { post_install $1 } post_remove() { /bin/true } pre_remove() { /bin/true } op=$1 shift $op $* # vim: ft=sh ts=2