summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2008-03-21 11:00:01 +0000
committerJakub Moc <jakub@gentoo.org>2008-03-21 11:00:01 +0000
commit14d5e35826816c25ea14911d1a7909b5d43bbe27 (patch)
tree72fa10ebbb8f71cae2cef827a7f661cd4e94dd1b /app-misc/japanese-vocabulary
parentMissed another $ROOT (diff)
downloadsunrise-14d5e35826816c25ea14911d1a7909b5d43bbe27.tar.gz
sunrise-14d5e35826816c25ea14911d1a7909b5d43bbe27.tar.bz2
sunrise-14d5e35826816c25ea14911d1a7909b5d43bbe27.zip
app-misc/japanese-vocabulary: Fix pkg_postrm
svn path=/sunrise/; revision=5868
Diffstat (limited to 'app-misc/japanese-vocabulary')
-rw-r--r--app-misc/japanese-vocabulary/ChangeLog5
-rw-r--r--app-misc/japanese-vocabulary/Manifest4
-rw-r--r--app-misc/japanese-vocabulary/japanese-vocabulary-0.6.ebuild4
3 files changed, 9 insertions, 4 deletions
diff --git a/app-misc/japanese-vocabulary/ChangeLog b/app-misc/japanese-vocabulary/ChangeLog
index adba898bb..226e343f2 100644
--- a/app-misc/japanese-vocabulary/ChangeLog
+++ b/app-misc/japanese-vocabulary/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for app-misc/japanese-vocabulary
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 21 Mar 2008; Jakub Moc <jakub@gentoo.org> japanese-vocabulary-0.6.ebuild:
+ Fix pkg_postrm
+
04 Dec 2007; Jakub Moc <jakub@gentoo.org> japanese-vocabulary-0.6.ebuild:
Switch to EAPI-1 and slotted deps
diff --git a/app-misc/japanese-vocabulary/Manifest b/app-misc/japanese-vocabulary/Manifest
index f403eb59d..6a48d0719 100644
--- a/app-misc/japanese-vocabulary/Manifest
+++ b/app-misc/japanese-vocabulary/Manifest
@@ -1,4 +1,4 @@
DIST JapaneseVocabulary-0.6-src.tar.gz 157552 RMD160 b5d36792a763bc5326ac76081fd9850ea22dcc4d SHA1 b0af15d0d41dcf1e08c345252ae62ea436934800 SHA256 aeb7838739b1769ade7bf9df07eb16548e1113ba573bd63d90460630c25e37bb
-EBUILD japanese-vocabulary-0.6.ebuild 1087 RMD160 dbf106e6fd8cea4d7451c1242e0fe341843f5eb5 SHA1 a06833e6a744643ae6df993a4656b4826c925bb7 SHA256 3d549cc3795a478234ac1bdb1ede729245062017b5f340331b14c7421fda0af7
-MISC ChangeLog 1120 RMD160 1ba89bcae216ef650bac8640abd93c65562740f6 SHA1 85adafcae8354dd69b19525a7adce6f98da4ce2e SHA256 9daa72e3a0d2ef2ccf3b3bb005749b860b9fa3035580d6c5210c623ebdde5423
+EBUILD japanese-vocabulary-0.6.ebuild 1144 RMD160 b9a33d87e04cba4a05ec43edf93a26354aac02c0 SHA1 d370dc3172275ba433d9f14057666d1d61c56fe9 SHA256 abfedf25fdcd87555c1e36c2da8a48d62db50e7d8cab3cc2842af8239eae97df
+MISC ChangeLog 1214 RMD160 f9887e1571892817aae0948b9f7a8c4da7927952 SHA1 dfbe10ca8a6ef5ba81f690d6711786e9390ee308 SHA256 9ffdb787ee169dda3c72f39915435de6debd3a7ead07b9f4cd7938457b59b2c8
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/app-misc/japanese-vocabulary/japanese-vocabulary-0.6.ebuild b/app-misc/japanese-vocabulary/japanese-vocabulary-0.6.ebuild
index 78cbe975d..12f6bc6e3 100644
--- a/app-misc/japanese-vocabulary/japanese-vocabulary-0.6.ebuild
+++ b/app-misc/japanese-vocabulary/japanese-vocabulary-0.6.ebuild
@@ -46,5 +46,7 @@ pkg_config() {
pkg_postrm() {
# do not leave orphaned cruft behind
- [[ -e ${ROOT}/usr/share/${PN} ]] && rm -rf /usr/share/${PN}
+ if ! has_version ${CATEGORY}/${PN} ; then
+ [[ -d ${ROOT}/usr/share/${PN} ]] && rm -rf "${ROOT}"/usr/share/${PN}
+ fi
}