summaryrefslogtreecommitdiff
path: root/multimedia/adobe-flash-plugin11/INSTALL.nspluginwrapper
blob: 8bd715ab9455f00be4e46fd9ca6ee2d6a363837e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# $NetBSD: INSTALL.nspluginwrapper,v 1.1.1.1 2011/11/03 18:14:14 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