postinst is in bigdata 1.0.2.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/bin/sh
set -e
if [ ! -f /var/log/bigdata.log ]; then
touch /var/log/bigdata.log
fi
chown syslog:syslog /var/log/bigdata.log
ln -sf /usr/share/bigdata/bigdata-rsyslog.conf /etc/rsyslog.d/99-bigdata.conf
invoke-rc.d rsyslog restart
|