annotate debian/postrm @ 31632:fc6f2b4e8a26

Avoid calling av_resample_init again when the values are the same as before. The init function can be called multiple times when e.g. additional format filters are inserted, so this speeds things up. Patch by Dan Oscarsson [Dan.Oscarsson tieto com].
author reimar
date Sun, 11 Jul 2010 09:46:58 +0000
parents 02309ce6fc22
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7214
f335b0da380c Remove config files on purge.
diego
parents:
diff changeset
1 #!/bin/sh
f335b0da380c Remove config files on purge.
diego
parents:
diff changeset
2
f335b0da380c Remove config files on purge.
diego
parents:
diff changeset
3 set -e
f335b0da380c Remove config files on purge.
diego
parents:
diff changeset
4
f335b0da380c Remove config files on purge.
diego
parents:
diff changeset
5 if [ "$1" = "purge" ]; then
8908
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
6 if [ -e /usr/share/debconf/confmodule ]; then
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
7 # Source debconf library.
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
8 . /usr/share/debconf/confmodule
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
9 # Remove my changes to the db.
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
10 db_purge
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
11 fi
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
12
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
13 if [ -d /etc/mplayer/ ]; then
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
14 rm -rf /etc/mplayer/
8689fa04b837 Purge debconf database on purge.
eyck
parents: 7214
diff changeset
15 fi
7214
f335b0da380c Remove config files on purge.
diego
parents:
diff changeset
16 fi
8911
02309ce6fc22 Pass control to debhelper scripts
eyck
parents: 8908
diff changeset
17
02309ce6fc22 Pass control to debhelper scripts
eyck
parents: 8908
diff changeset
18 #DEBHELPER#