summaryrefslogtreecommitdiff
path: root/multimedia/adobe-flash-plugin/INSTALL.nspluginwrapper
blob: a56a16ccad150c56fb67e9f731961dcc7b21ce6c (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.1.1.1 2008/12/18 23:00:45 jmcneill 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