This file is indexed.

prerm is in hibernate 2.0+15+g88d54a8-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
30
31
#!/bin/sh
#
# Pre-removal hook script for hibernate
#
# Originally written by Cameron Patrick, 2004 and released to the public domain.
# Modified by martin f. krafft.
#
# Copyright © martin f. krafft <madduck@debian.org>
# Released under the terms of the Artistic Licence 2.0
#
# $Id$
#

set -e
set -u

if [ "${1:-}" = remove ]; then
  rmdir --ignore-fail-on-non-empty --parents \
    /usr/local/share/hibernate/scriptlets.d 2>/dev/null || :
fi

# See #369953
set +u
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/init.d/hibernate 1.99-1.1 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/hibernate/suspend2.conf /etc/hibernate/tuxonice.conf 1.99-1.1 -- "$@"
# End automatically added section

set -u