This file is indexed.

postinst is in cream 0.43-2.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 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
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/sh
# postinst script for cream
set -e

case "$1" in
	configure)
		# Register as an alternative for the editor command. Priority value of
		# zero for now to prevent automatic selection. A better value should be
		# coordinated with the other editor providers.
		update-alternatives --install /usr/bin/editor editor /usr/bin/cream 0 \
			--slave /usr/share/man/man1/editor.1.gz editor.1.gz \
			/usr/share/man/man1/cream.1.gz
	;;

	abort-upgrade|abort-remove|abort-deconfigure)
	;;

	*)
		echo "postinst called with unknown argument \`$1'" >&2
		exit 1
	;;
esac

# Automatically added by dh_installmenu
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
	update-menus
fi
# End automatically added section
# Automatically added by dh_ucf
if [ "$1" = "configure" ]; then
	ucf /usr/share/cream/cream-user.vim /etc/cream/cream-user.vim
	ucfr cream /etc/cream/cream-user.vim
fi
# End automatically added section
# Automatically added by dh_ucf
if [ "$1" = "configure" ]; then
	ucf /usr/share/cream/cream-conf.vim /etc/cream/cream-conf.vim
	ucfr cream /etc/cream/cream-conf.vim
fi
# End automatically added section


exit 0