treasure-data/omnibus-td-agent — pull request #19 by lowstz (2014-12-23 03:08:17+00:00)
Title: fix rm: cannot remove ‘/etc/td-agent/plugin’: Is a directory

I install td-agent from
```
deb [arch=amd64] http://packages.treasuredata.com/2/ubuntu/trusty/ trusty contrib
```
when I use apt-get purge td-agent to remove the package, dpkg throw this error.

The deb package [postinst script in line 18](https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/package-scripts/td-agent/deb/postinst#L18):
``` sh
mkdir -p /etc/td-agent/plugin
```
The [postrm script in line 6](https://github.com/treasure-data/omnibus-td-agent/blob/master/templates/package-scripts/td-agent/deb/postrm#L6):
``` sh
rm -f /etc/td-agent/*
```