diff options
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 } |