treasure-data/td-agent — pull request #61 by sugi (2014-08-21 22:06:54+00:00)
Title: Package is uninstallable.

When puring td-agent package, I get error and uninstall was aborted.

```
root@tempest:/# dpkg --purge td-agent
(Reading database ... 17638 files and directories currently installed.)
Removing td-agent ...
************************************
All rc.d operations denied by policy
************************************
invoke-rc.d: policy-rc.d denied execution of stop.
Purging configuration files for td-agent ...
rm: cannot remove `/etc/td-agent/logrotate.d': Is a directory
rm: cannot remove `/etc/td-agent/prelink.conf.d': Is a directory
dpkg: error processing td-agent (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
td-agent
```

Because directory /etc/td-agent has sub-directory.
```
root@tempest:/# find /etc/td-agent/
/etc/td-agent/
/etc/td-agent/prelink.conf.d
/etc/td-agent/prelink.conf.d/td-agent.conf
/etc/td-agent/logrotate.d
/etc/td-agent/logrotate.d/td-agent.logrotate
/etc/td-agent/plugin
/etc/td-agent/td-agent.conf.tmpl
/etc/td-agent/td-agent.conf
```

This patch fix the problem, and also remove remaining file
added by package (/etc/default/td-agent.conf).