File: browser.postinst

package info (click to toggle)
netscape4.77 4.77-2
  • links: PTS
  • area: non-free
  • in suites: potato, woody
  • size: 27,132 kB
  • ctags: 63
  • sloc: sh: 1,927; makefile: 319
file content (30 lines) | stat: -rw-r--r-- 514 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

#/usr/lib/netscape/${VERS}/${BIN}/${BIN}-${FLA}

if [ -z "$1" ];then
	echo Please call this with some arguments.
	exit 1
fi
if [ $1 = configure ];then
	update-alternatives --install\
		${X_PATH}/${BIN}\
		${BIN}\
		${NS_BIN}\
		${B_PR}
	update-alternatives --install\
		${X_PATH}/netscape\
		netscape\
		${NS_BIN}\
		${N_PR}
elif [ $1 = abort-upgrade ];then
	:
elif [ $1 = abort-remove ];then
	:
elif [ $1 = abort-deconfigure ];then
	:
fi

if [ -x /usr/bin/update-menus ];then
	/usr/bin/update-menus
fi