mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
18 lines
323 B
Bash
18 lines
323 B
Bash
#!/bin/sh
|
|
|
|
PKGNAME=$1
|
|
[ ! -n "${PKG_PREFIX}" ] && exit 1
|
|
|
|
case $2 in
|
|
POST-INSTALL)
|
|
cd ${PKG_PREFIX}/news/bin/filter \
|
|
&& mv filter_innd.pl filter_innd.pl.orig \
|
|
&& ln -s cleanfeed filter_innd.pl
|
|
;;
|
|
POST-DEINSTALL)
|
|
cd ${PKG_PREFIX}/news/bin/filter \
|
|
&& mv filter_innd.pl.orig filter_innd.pl
|
|
;;
|
|
esac
|
|
exit 0
|