This file is indexed.

postrm is in yorick 2.2.04+dfsg1-9.

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
#!/bin/sh
set -e
case $1 in
  purge)
    if [ -e /etc/yorick ]; then
      rm -Rf /etc/yorick
    fi
    if [ -e /usr/lib/yorick ]; then
      rm -Rf /usr/lib/yorick
    fi
    ;;
  remove)
    if [ -x "`which update-yorickdoc 2>/dev/null`" ]; then
	update-yorickdoc --auto
    fi
    ;;
  abort-upgrade)
    [ -e /usr/lib/yorick/packages/pkg_setup.i ] ||
       ln -s /etc/yorick/packages/pkg_setup.i \\
         /usr/lib/yorick/packages/pkg_setup.i
    ;;
esac
# Automatically added by dh_installmenu/11.1.6ubuntu1
if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
# End automatically added section