This file is indexed.

prerm is in fusionforge-plugin-hudson 6.0.5-2ubuntu1.

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

# Skip if -common was already removed
if ! which forge_get_config >/dev/null; then exit 0; fi
pluginctl=$(forge_get_config source_path)/post-install.d/common/plugin.sh
if [ -x $pluginctl ]; then exit 0; fi

case "$1" in
    remove) $pluginctl hudson remove ;;
    upgrade|deconfigure|failed-upgrade) ;;
    *) echo "prerm called with unknown argument \`$1'" >&2; exit 1 ;;
esac


exit 0