summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2004-03-09 17:52:56 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2004-03-09 17:52:56 +0000
commit5fcd5ebc7c66c1e1544c364578e1ae8d5c83dcbb (patch)
tree89c92722a4b983335731736608576f8d18e77396 /eclass/common-lisp.eclass
parentVersion bump (diff)
downloadhistorical-5fcd5ebc7c66c1e1544c364578e1ae8d5c83dcbb.tar.gz
historical-5fcd5ebc7c66c1e1544c364578e1ae8d5c83dcbb.tar.bz2
historical-5fcd5ebc7c66c1e1544c364578e1ae8d5c83dcbb.zip
correct site-gentoo.el to be much more specific about what files should be included
refactor common-lisp pkg_prerm and pkg_postinst
Diffstat (limited to 'eclass/common-lisp.eclass')
-rw-r--r--eclass/common-lisp.eclass14
1 files changed, 11 insertions, 3 deletions
diff --git a/eclass/common-lisp.eclass b/eclass/common-lisp.eclass
index 03c50bd14721..5ecb71e12b6a 100644
--- a/eclass/common-lisp.eclass
+++ b/eclass/common-lisp.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/common-lisp.eclass,v 1.5 2004/02/12 15:14:03 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/common-lisp.eclass,v 1.6 2004/03/09 17:52:56 mkennedy Exp $
#
# Author Matthew Kennedy <mkennedy@gentoo.org>
#
@@ -14,7 +14,7 @@ INHERITED="$INHERITED $ECLASS"
CLPACKAGE=
newdepend "dev-lisp/common-lisp-controller"
-pkg_postinst() {
+common-lisp_pkg_postinst() {
if [ -z "${CLPACKAGE}" ]; then
die "CLPACKAGE was empty or undefined upon call to pkg_prerm"
else
@@ -25,7 +25,7 @@ pkg_postinst() {
fi
}
-pkg_postrm() {
+common-lisp_pkg_postrm() {
if [ -z "${CLPACKAGE}" ]; then
die "CLPACKAGE was empty or undefined upon call to pkg_prerm"
else
@@ -39,6 +39,14 @@ pkg_postrm() {
fi
}
+pkg_postinst() {
+ common-lisp_pkg_postinst
+}
+
+pkg_postrm() {
+ common-lisp_pkg_postrm
+}
+
#
# In pkg_preinst, we remove the FASL files for the previous version of
# the source.