This file is indexed.

postinst is in squeak-vm 1:4.10.2.2614-4.1.

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
#!/bin/sh

set -e

VM_VERSION=`find /usr/lib/squeak/ -name "squeakvm" -type f|cut -f5 -d"/"`
SQ_DIR=/usr/lib/squeak/$VM_VERSION

# register the plugin:
#/usr/lib/squeak/npsqueakregister

#Create empty directory for Squeak images
mkdir -p /usr/share/squeak

#If there is a squeak sources file, do the needed link:
if [ -f /usr/share/squeak/SqueakV3.sources ]; then
	ln -sf /usr/share/squeak/SqueakV3.sources $SQ_DIR/SqueakV3.sources
fi

#Prepare Squeaklets directory needed for the plugin

if [ ! -h /usr/share/squeak/Squeaklets ]; then
	#ln -s /var/cache/squeak/squeaklets /usr/share/squeak/Squeaklets
	#chmod 777 /var/cache/squeak/squeaklets
	ln -sf /tmp /usr/share/squeak/Squeaklets
fi



exit 0