diff options
author | Elijah El Lazkani <ThyArmageddon+GentooOverlay@Gmail.com> | 2012-06-28 00:01:54 -0400 |
---|---|---|
committer | Elijah El Lazkani <ThyArmageddon+GentooOverlay@Gmail.com> | 2012-06-28 00:01:54 -0400 |
commit | f8ac6ba584fd0cad1aa35c31ec73e416d3e208d2 (patch) | |
tree | 5503f122dff58a0becf029070f8fe984bfac8ea3 /net-misc | |
parent | Some more patches to gcm... (diff) | |
download | Armageddon-f8ac6ba584fd0cad1aa35c31ec73e416d3e208d2.tar.gz Armageddon-f8ac6ba584fd0cad1aa35c31ec73e416d3e208d2.tar.bz2 Armageddon-f8ac6ba584fd0cad1aa35c31ec73e416d3e208d2.zip |
Fixed the patching system for gcm...
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0.ebuild b/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0.ebuild index d12f1a1..cd54666 100644 --- a/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0.ebuild +++ b/net-misc/gnome-connection-manager/gnome-connection-manager-1.0.0.ebuild @@ -28,9 +28,9 @@ RDEPEND="${DEPEND}" S="${WORKDIR}"/gcm-"${PV}" src_prepare() { - sed -i "s|BASE_PATH = os.path.*|BASE_PATH = '/usr/$(get_libdir)/"${PN}"'|" - sed -i "s|glade_dir = \"\"|glade_dir = BASE_PATH|" - sed -i "s|env python\s*$|env python2|" + sed -i "s|BASE_PATH = os.path.*|BASE_PATH = '/usr/$(get_libdir)/"${PN}"'|" gnome_connection_manager.py || die "Can not apply patch to BASE_PATH" + sed -i "s|glade_dir = \"\"|glade_dir = BASE_PATH|" gnome_connection_manager.py || 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" } src_install() { @@ -40,6 +40,6 @@ src_install() { SimpleGladeApp.py SimpleGladeApp.pyc ssh.expect fperms 755 /usr/$(get_libdir)/"${PN}"/gnome_connection_manager.py dosym /usr/$(get_libdir)/"${PN}"/gnome_connection_manager.py /usr/bin/"${PN}" - dodoc README.txt + newdoc README.txt README doicon icon.png } |