summaryrefslogtreecommitdiff
path: root/multimedia/adobe-flash-player/INSTALL.nspluginwrapper
blob: f1414865aedfc50f9ff74eedf9fa1c655838c794 (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 2017/03/17 21:56:29 tsutsui 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