summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah El Lazkani <ThyArmageddon+GentooOverlay@Gmail.com>2012-06-28 18:45:32 -0400
committerElijah El Lazkani <ThyArmageddon+GentooOverlay@Gmail.com>2012-06-28 18:45:32 -0400
commit5092cac54de3859bda4c2c91451501520a9cd9be (patch)
treeb48b74a0a49656640ff10ac652ae55259264d69b
parentAdded forgotten slots... (diff)
downloadArmageddon-5092cac54de3859bda4c2c91451501520a9cd9be.tar.gz
Armageddon-5092cac54de3859bda4c2c91451501520a9cd9be.tar.bz2
Armageddon-5092cac54de3859bda4c2c91451501520a9cd9be.zip
Called functions in the wrong phase, my bad...
-rw-r--r--net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r2.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r2.ebuild b/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r2.ebuild
index 9473fad..aa3ac26 100644
--- a/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r2.ebuild
+++ b/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0-r2.ebuild
@@ -27,6 +27,11 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}"/gcm-"${PV}"
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_prepare() {
sed -i "s|BASE_PATH = os.path.*|BASE_PATH = '/usr/share/"${PN}"'|" gnome_connection_manager.py \
|| die "Can not apply patch to BASE_PATH"
@@ -34,9 +39,6 @@ src_prepare() {
|| die "Can not apply patch to glade_dir"
sed -i "s|env python\s*$|env python2|" gnome_connection_manager.py \
|| die "Can not apply patch to python"
-
- python_set_active_version 2
- python_pkg_setup
}
src_install() {