This file is indexed.

prerm is in nvidia-settings 304.88-0ubuntu0.0.2.

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
#!/bin/sh
# prerm script for nvidia-settings
#
# Copyright (C) 2011 Canonical Ltd
# Authors: Alberto Milone


PACKAGE_NAME=nvidia-settings

case "$1" in
	remove)
		update-alternatives --remove nvidia_setting_conf /usr/lib/nvidia-settings/ld.so.conf

		# Trigger gmenu so as to update the gnome menu
		dpkg-trigger --by-package=$PACKAGE_NAME gmenucache || true

		# explicit ldconfig due to alternatives
		ldconfig
	;;
esac