This file is indexed.

postinst is in gcl 2.6.12-29.

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
44
#!/bin/sh
case "$1" in
  configure)

	CONFIGFILE=$(tempfile -m 644)
	set -e
	. /usr/share/debconf/confmodule
	
	if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
	    
	    db_get gcl/default_gcl_ansi
	    
	    if [ "$RET" = "true" ] ; then 
		DEFAULT_GCL_ANSI=t
	    else
		DEFAULT_GCL_ANSI=
	    fi
	    
	    db_get gcl/default_gcl_prof
	    
	    if [ "$RET" = "true" ] ; then 
		DEFAULT_GCL_PROF=y
	    else
		DEFAULT_GCL_PROF=
	    fi
	    
	    echo "DEFAULT_GCL_ANSI=$DEFAULT_GCL_ANSI" >> $CONFIGFILE
	    echo "DEFAULT_GCL_PROF=$DEFAULT_GCL_PROF" >> $CONFIGFILE
	    
	fi
	
	ucf --debconf-ok $CONFIGFILE /etc/default/gcl
	ucfr gcl /etc/default/gcl

#	chmod 644 /etc/default/gcl
	
esac

# Automatically added by dh_installemacsen
if [ "$1" = "configure" ] && [ -e /var/lib/emacsen-common/state/package/installed/emacsen-common -a -x /usr/lib/emacsen-common/emacs-package-install ]
then
	/usr/lib/emacsen-common/emacs-package-install --postinst gcl
fi
# End automatically added section