Mercurial > mplayer.hg
view debian/postrm @ 19085:e5ec659ec1c6
added checks for stupid code like casting return value of malloc and friends,
sizeof(char) and similar 1 byte types, &&1, ||0, +0, -0, *1, *0
typical usage: ./checktree.sh -none -stupid -showcont somefile.c
author | ivo |
---|---|
date | Fri, 14 Jul 2006 22:05:49 +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#