diff options
author | Jakub Moc <jakub@gentoo.org> | 2007-04-09 18:03:18 +0000 |
---|---|---|
committer | Jakub Moc <jakub@gentoo.org> | 2007-04-09 18:03:18 +0000 |
commit | a6dab5f9cc3513281bea227a78e441b99e68a792 (patch) | |
tree | e99c6333eea1bdb28d3326a26dcb8e785ba3c33c /app-misc/japanese-vocabulary/japanese-vocabulary-0.6.ebuild | |
parent | app-laptop/linux-phc: Fix broken collision-protect check (diff) | |
download | sunrise-a6dab5f9cc3513281bea227a78e441b99e68a792.tar.gz sunrise-a6dab5f9cc3513281bea227a78e441b99e68a792.tar.bz2 sunrise-a6dab5f9cc3513281bea227a78e441b99e68a792.zip |
app-misc/japanese-vocabulary: Add pkg_postrm to clean-up after itself on unmerge
svn path=/sunrise/; revision=3395
Diffstat (limited to 'app-misc/japanese-vocabulary/japanese-vocabulary-0.6.ebuild')
-rw-r--r-- | app-misc/japanese-vocabulary/japanese-vocabulary-0.6.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app-misc/japanese-vocabulary/japanese-vocabulary-0.6.ebuild b/app-misc/japanese-vocabulary/japanese-vocabulary-0.6.ebuild index 2cef4b0af..5b2c37318 100644 --- a/app-misc/japanese-vocabulary/japanese-vocabulary-0.6.ebuild +++ b/app-misc/japanese-vocabulary/japanese-vocabulary-0.6.ebuild @@ -55,3 +55,8 @@ pkg_config() { einfo "The vocabulary database is in:" einfo " /usr/share/${PN}" } + +pkg_postrm() { + # do not leave orphaned cruft behind + [[ -e /usr/share/${PN} ]] && rm -rf /usr/share/${PN} +} |