This file is indexed.

postrm is in debdelta 0.50+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
#!/bin/sh
set -e

GPG_HOME=/etc/debdelta/gnupg

if [ "$1" = purge ] ; then
  if  [ -r /var/lib/debdelta ] ; then
    rm -r /var/lib/debdelta
  fi

  if test -f "${GPG_HOME}/secring.gpg" ; then 
    if test -s "${GPG_HOME}/secring.gpg" ; then
      echo debdelta: does not delete nonempty  ${GPG_HOME}/secring.gpg
    else
      rm ${GPG_HOME}/secring.gpg 
    fi
  fi

  if test -f "${GPG_HOME}/pubring.gpg" ; then
      if  echo "4509b7260dc7aee6ec8dac68263bc662  ${GPG_HOME}/pubring.gpg" | md5sum -c --quiet ; then 
      rm ${GPG_HOME}/pubring.gpg 
    else
      echo debdelta: does not delete modified  ${GPG_HOME}/pubring.gpg
    fi
  fi

  if test -f "${GPG_HOME}/pubring.gpg~" ; then
    rm ${GPG_HOME}/pubring.gpg~
  fi

  #unfortunately I could not spot a good way to detect if the
  # trustdb does contain useful info

fi