This file is indexed.

prerm is in samba 2:4.3.8+dfsg-0ubuntu1.

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
# empty prerm script to allow upgrades from earlier version with broken prerm
# script (bug introduced in 2:4.0.10+dfsg-3, fixed in 2:4.0.13+dfsg-1)

# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/network/if-up.d/samba 2:3.6.5-6~ samba -- "$@"
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/samba-ad-dc" ] || [ -e "/etc/init/samba-ad-dc.conf" ]; then
	invoke-rc.d samba-ad-dc stop || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/nmbd" ] || [ -e "/etc/init/nmbd.conf" ]; then
	invoke-rc.d nmbd stop || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/smbd" ] || [ -e "/etc/init/smbd.conf" ]; then
	invoke-rc.d smbd stop || exit $?
fi
# End automatically added section


exit 0