summaryrefslogtreecommitdiffstats
path: root/perl-unix-syslog/perl-unix-syslog.install
blob: 641c385dac3a2c273cc43da186a394274eda8e47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
post_install()
{

	echo -n "module test... "

	perl -mUnix::Syslog -e "exit 0;" 2> /dev/null && echo 'pass.' || echo 'fail.'

}

post_upgrade()
{
	post_install
}

op=$1

shift

$op $*