Mercurial > mplayer.hg
view debian/postrm @ 13316:0d17bef9894d
* Changed malloc and strncpy to strdup. Less code.
* More error checking. If malloc or strdup fails, print message and exit.
* Free malloc'd memory when uninit is called.
* Moved default of jpeg_outdir to preinit, so it is always malloc'd and can
easily be freed at uninit.
author | ivo |
---|---|
date | Sat, 11 Sep 2004 19:59:31 +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#