aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorReinis Danne <rei4dan@gmail.com>2014-01-20 18:19:18 +0200
committerReinis Danne <rei4dan@gmail.com>2014-01-21 21:42:28 +0200
commitaa6de45b01a4c7dbbf9b6e32655eeed16d21089a (patch)
tree28208c9c5cc9e42cf1eee6b0eb7b03007ec6c392 /eclass
parentalternatives-2.eclass: Remove unused variables (diff)
downloadsci-aa6de45b01a4c7dbbf9b6e32655eeed16d21089a.tar.gz
sci-aa6de45b01a4c7dbbf9b6e32655eeed16d21089a.tar.bz2
sci-aa6de45b01a4c7dbbf9b6e32655eeed16d21089a.zip
alternatives-2.eclass: Move EXPORT_FUNCTIONS to top
Diffstat (limited to 'eclass')
-rw-r--r--eclass/alternatives-2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/alternatives-2.eclass b/eclass/alternatives-2.eclass
index becc0e42a..053d82ceb 100644
--- a/eclass/alternatives-2.eclass
+++ b/eclass/alternatives-2.eclass
@@ -18,6 +18,8 @@ RDEPEND="${DEPEND}
!app-admin/eselect-cblas
!app-admin/eselect-lapack"
+EXPORT_FUNCTIONS pkg_postinst pkg_prerm
+
# alternatives_for alternative provider importance source target [ source target [...]]
alternatives_for() {
#echo alternatives_for "${@}"
@@ -161,5 +163,3 @@ alternatives-2_pkg_prerm() {
esac
done
}
-
-EXPORT_FUNCTIONS pkg_postinst pkg_prerm