summaryrefslogtreecommitdiff
path: root/multimedia/ns-flash/INSTALL.nspluginwrapper
blob: 765db1930ed7dfa36f84b19f9ab584713de308c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
# $NetBSD: INSTALL.nspluginwrapper,v 1.2 2007/03/23 22:59:16 abs Exp $

PATH=@PREFIX@/bin:$PATH

case $STAGE in
    POST-INSTALL)
	nspluginwrapper -i @PREFIX@/lib/netscape/plugins/libflashplayer.so
	;;
esac


case $STAGE in
    DEINSTALL)
	for wrapped in `nspluginwrapper -l | grep ^/` ; do
	    nspluginwrapper -r $wrapped
	done
	;;
esac