view debian-build/postrm @ 10648:96170748b6a9

Reversed + changed grep -q to grep > /dev/null 2>&1. -q is a GNU extension to grep that breaks the script on Solaris.
author diego
date Sun, 17 Aug 2003 20:17:03 +0000
parents 33f43b0f24f7
children
line wrap: on
line source

#!/bin/sh

set -e

if [ "$1" = "purge" ]; then
  if [ -d /etc/mplayer/ ]; then
    rm -rf /etc/mplayer/
  fi
fi