annotate debian/postrm @ 26720:d68c3cd43cd4

Change subtitle selection order by giving "indirect" ways of specifying the desired subtitle track the least priority. Selection of displayed subtitles by language (-slang) and default track attribute is only performed if all other ways have failed. They are not directly controllable by the user (especially default tracks), therefore they should not override -sub, -vobsub and even auto-subs. Based on a patch by Sergey Malkovsky (mplayer.win32_gmail_com).
author eugeni
date Mon, 12 May 2008 20:40:39 +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#