This file is indexed.

prerm is in speakup 3.1.5.dfsg.1-1ubuntu1.

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 -e
# Copyright (C) 2002-2005 Flavio Stanchina
# Copyright (C) 2005-2006 Aric Cyr
# Copyright (C) 2007-2008 Mario Limonciello
# Copyright (C) 2009 Alberto Milone
# Copyright (C) 2010 Luke Yelavich



CVERSION=`dpkg-query -W -f='${Version}' speakup | awk -F "-" '{print $1}' | cut -d\: -f2`
case "$1" in
    remove|upgrade)
		echo "Removing all DKMS Modules"
		dkms remove -m speakup -v $CVERSION --all > /dev/null
		echo "Done."
        ;;
esac