This file is indexed.

postrm is in code-aster-gui 1.13.1-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
#!/bin/sh

set -e

if [ "$1" = "purge" -a -e /usr/share/debconf/confmodule ]; then
    # Source debconf library.
    . /usr/share/debconf/confmodule
    # Remove my changes to the db.
    db_purge
    
    # Remove files in /etc/codeaster/astkrc
    rm -f /etc/codeaster/astkrc/config_serveurs
    rm -f /etc/codeaster/astkrc/outils
    rm -f /etc/codeaster/astkrc/prefs    
    rm -f /etc/codeaster/astkrc/ASTKRC_INFO.txt
    
    find /etc/codeaster/astkrc  -type d -empty | xargs -r rmdir
    find /etc/codeaster  -type d -empty | xargs -r rmdir
fi

# Automatically added by dh_installmenu
if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
# End automatically added section
# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_purge
fi
# End automatically added section