1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/net/iet/pkg-plist
Xin LI 4fe0d13fed Correct the directory that we intend to remove. (%%KMODDIR%% expands to
a full path while plist expects a relative path).

Reported by:	exp-run (via linimon)
2011-02-28 07:40:32 +00:00

22 lines
1022 B
Plaintext

modules/iet.ko
@exec mkdir -p %D/etc/iet
@unexec (cmp -s %D/%%DATADIR%%/ietd.conf %D/etc/iet/ietd.conf && rm -f %D/etc/iet/ietd.conf) || true
%%DATADIR%%/ietd.conf
@exec [ -f %B/ietd.conf ] || cp %B/%f %D/etc/iet/ietd.conf
@unexec (cmp -s %D/%%DATADIR%%/initiators.allow %D/etc/iet/initiators.allow && rm -f %D/etc/iet/initiators.allow) || true
%%DATADIR%%/initiators.allow
@exec [ -f %B/initiators.allow ] || cp %B/%f %D/etc/iet/initiators.allow
@unexec (cmp -s %D/%%DATADIR%%/initiators.deny %D/etc/iet/initiators.deny && rm -f %D/etc/iet/initiators.deny) || true
%%DATADIR%%/initiators.deny
@exec [ -f %B/initiators.deny ] || cp %B/%f %D/etc/iet/initiators.deny
@unexec (cmp -s %D/%%DATADIR%%/targets.allow %D/etc/iet/targets.allow && rm -f %D/etc/iet/targets.allow) || true
%%DATADIR%%/targets.allow
@exec [ -f %B/targets.allow ] || cp %B/%f %D/etc/iet/targets.allow
@dirrmtry etc/iet
@dirrm %%DATADIR%%
sbin/ietd
sbin/ietadm
@exec /usr/sbin/kldxref %%KMODDIR%%
@unexec /usr/sbin/kldxref %%KMODDIR%%
@dirrmtry modules