summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gardiner <obz@gentoo.org>2004-07-18 09:42:07 +0000
committerMike Gardiner <obz@gentoo.org>2004-07-18 09:42:07 +0000
commitfcda267ec82b697cb6c91d72afc7e315e661bc10 (patch)
treed95a29010d2962015806a75fc23474ef4b860a9d /x11-plugins/desklet-wireless
parentFirst version of the wireless monitoring display and sensor (Manifest recommit) (diff)
downloadgentoo-2-fcda267ec82b697cb6c91d72afc7e315e661bc10.tar.gz
gentoo-2-fcda267ec82b697cb6c91d72afc7e315e661bc10.tar.bz2
gentoo-2-fcda267ec82b697cb6c91d72afc7e315e661bc10.zip
Fixed sed line
Diffstat (limited to 'x11-plugins/desklet-wireless')
-rw-r--r--x11-plugins/desklet-wireless/desklet-wireless-0.2.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11-plugins/desklet-wireless/desklet-wireless-0.2.ebuild b/x11-plugins/desklet-wireless/desklet-wireless-0.2.ebuild
index bf5a01fcb62c..559dc5146c07 100644
--- a/x11-plugins/desklet-wireless/desklet-wireless-0.2.ebuild
+++ b/x11-plugins/desklet-wireless/desklet-wireless-0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-wireless/desklet-wireless-0.2.ebuild,v 1.1 2004/07/18 09:34:26 obz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-wireless/desklet-wireless-0.2.ebuild,v 1.2 2004/07/18 09:42:07 obz Exp $
DESKLET_NAME="Wireless"
@@ -28,6 +28,11 @@ src_install() {
# first we install the Sensor
python ${INSTALL_BIN} --nomsg ${D}${SYS_PATH}/Sensors
+ # fix up the Sensor which tries to look in /sbin for
+ # iwconfig, instead of /usr/sbin
+ sed -i -e "s/\/sbin\/iwconfig/\/usr\/sbin\/iwconfig/" \
+ ${D}${SYS_PATH}/Sensors/${DESKLET_NAME}/__init__.py
+
# and then the .displays
cd ${S}/WirelessDisplay
insinto ${SYS_PATH}/Displays/${DESKLET_NAME}