summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2008-03-21 11:03:42 +0000
committerJakub Moc <jakub@gentoo.org>2008-03-21 11:03:42 +0000
commit530a87191d80878f8dbff15a747c9281e2e8b33d (patch)
treef923290f121a1c1a6cd920b2b732b4e7ed8a6862
parentapp-misc/japanese-vocabulary: Fix pkg_postrm (diff)
downloadsunrise-530a87191d80878f8dbff15a747c9281e2e8b33d.tar.gz
sunrise-530a87191d80878f8dbff15a747c9281e2e8b33d.tar.bz2
sunrise-530a87191d80878f8dbff15a747c9281e2e8b33d.zip
Replace pkg_prerm with pkg_postrm and fix it
svn path=/sunrise/; revision=5869
-rw-r--r--app-antivirus/panda/Manifest2
-rw-r--r--app-antivirus/panda/panda-9.00.00.ebuild8
2 files changed, 6 insertions, 4 deletions
diff --git a/app-antivirus/panda/Manifest b/app-antivirus/panda/Manifest
index 89736404b..030e86643 100644
--- a/app-antivirus/panda/Manifest
+++ b/app-antivirus/panda/Manifest
@@ -1,4 +1,4 @@
DIST pavcl_linux.tgz 7993107 RMD160 8695977b1c5402969d72b89abc92b10c8d9a30fa SHA1 c4803efadd17e3caddb4ef1610cec3ed5beac656 SHA256 a72c9fd4f76fd801800711d804e98d01b3cd7abb5843755518e1dfbb9bfc7612
-EBUILD panda-9.00.00.ebuild 1077 RMD160 135f81bca4bb2bd860723c92c1d2c1a4608d8465 SHA1 cb43568658fd45ab48228167fe0d97de2b80a4ab SHA256 e924a001a6ef79a6f3b1074d8fd1478e8e27580e139fbb8ab281d3e097a99184
+EBUILD panda-9.00.00.ebuild 1127 RMD160 094a0d883ddd04014d4828f6c3e54cfd49615d72 SHA1 fc6bef6c4eb7164d25c0dd3c56a8ca9b5d7ec6ae SHA256 277dec95a448274d8d56d52ac2d2d4fc3eacb941198b5c5c1f9123522a3f5429
MISC ChangeLog 444 RMD160 1dd6a2794ed1b8ab649358fcd338c68396d48a8a SHA1 304638cb37b15382a00f4209dfd39f373c051b37 SHA256 624960efcff24f75eccdbf4d63ff7ef0eb8555324e382d25b8ab1d733d0ea567
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/app-antivirus/panda/panda-9.00.00.ebuild b/app-antivirus/panda/panda-9.00.00.ebuild
index 3b0ac0c87..81f114025 100644
--- a/app-antivirus/panda/panda-9.00.00.ebuild
+++ b/app-antivirus/panda/panda-9.00.00.ebuild
@@ -35,7 +35,9 @@ pkg_postinst() {
elog "from http://acs.pandasoftware.com/software/basevirus/"
}
-pkg_prerm() {
- einfo "Removing stale logdir..."
- [[ -d "${ROOT}/opt/pavcl/var/log/panda" ]] && rm -rf "${ROOT}/opt/pavcl/var/log/panda"
+pkg_postrm() {
+ if ! has_version ${CATEGORY}/${PN} && [[ -d "${ROOT}/opt/pavcl/var/log/panda" ]] ; then
+ einfo "Removing stale logdir..."
+ rm -rf "${ROOT}/opt/pavcl/var/log/panda"
+ fi
}