This file is indexed.

prerm is in libvirt-bin 1.3.1-1ubuntu10.

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
#!/bin/sh
set -e
# Automatically added by dh_installinit
if ([ -x "/etc/init.d/libvirt-guests" ] || [ -e "/etc/init/libvirt-guests.conf" ]) && \
   [ "$1" = remove ]; then
	invoke-rc.d libvirt-guests stop || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
if ([ -x "/etc/init.d/libvirt-bin" ] || [ -e "/etc/init/libvirt-bin.conf" ]) && \
   [ "$1" = remove ]; then
	invoke-rc.d libvirt-bin stop || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
if ([ -x "/etc/init.d/virtlockd" ] || [ -e "/etc/init/virtlockd.conf" ]) && \
   [ "$1" = remove ]; then
	invoke-rc.d virtlockd stop || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
if ([ -x "/etc/init.d/virtlogd" ] || [ -e "/etc/init/virtlogd.conf" ]) && \
   [ "$1" = remove ]; then
	invoke-rc.d virtlogd stop || exit $?
fi
# End automatically added section