Mercurial > mplayer.hg
view debian/postrm @ 31794:543698dab5d2
Properly close file on error or uninit.
Avoids failing with "device busy" e.g. when reinitializing the ao.
Fixes bug #1746.
author | reimar |
---|---|
date | Fri, 30 Jul 2010 18:28:02 +0000 |
parents | 02309ce6fc22 |
children |
line wrap: on
line source
#!/bin/sh set -e if [ "$1" = "purge" ]; then if [ -e /usr/share/debconf/confmodule ]; then # Source debconf library. . /usr/share/debconf/confmodule # Remove my changes to the db. db_purge fi if [ -d /etc/mplayer/ ]; then rm -rf /etc/mplayer/ fi fi #DEBHELPER#