This file is indexed.

prerm is in ddclient 3.8.1-1ubuntu2.

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
#!/bin/sh
set -e

# Remove the cache file so that the directory can be deleted.
#
if [ "$1" = "remove" -o "$1" = "purge" ]; then
    rm -f /var/cache/ddclient/ddclient.cache
fi

# Automatically added by dh_installinit
if [ -x "/etc/init.d/ddclient" ] || [ -e "/etc/init/ddclient.conf" ]; then
	invoke-rc.d ddclient stop || exit $?
fi
# End automatically added section


exit 0