summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-05-14 09:10:22 +0200
committerMichał Górny <mgorny@gentoo.org>2016-05-14 09:19:57 +0200
commitf7e98dcc1318911c576194c9b828695ecdaaca92 (patch)
tree89eef33e986f89e7b0ac1de8e32f305b4c02eed1 /sys-libs/libsmbios
parentsys-libs/libapparmor: python_moduleroot -> python_moduleinto (diff)
downloadgentoo-f7e98dcc1318911c576194c9b828695ecdaaca92.tar.gz
gentoo-f7e98dcc1318911c576194c9b828695ecdaaca92.tar.bz2
gentoo-f7e98dcc1318911c576194c9b828695ecdaaca92.zip
sys-libs/libsmbios: python_scriptroot -> python_scriptinto
Diffstat (limited to 'sys-libs/libsmbios')
-rw-r--r--sys-libs/libsmbios/libsmbios-2.2.28.ebuild4
-rw-r--r--sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys-libs/libsmbios/libsmbios-2.2.28.ebuild b/sys-libs/libsmbios/libsmbios-2.2.28.ebuild
index ff0f7971baca..56616702c6ef 100644
--- a/sys-libs/libsmbios/libsmbios-2.2.28.ebuild
+++ b/sys-libs/libsmbios/libsmbios-2.2.28.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -67,7 +67,7 @@ src_install() {
rmdir "${D}libsmbios_c" "${D}usr/share/smbios-utils"
rm -rf "${D}etc"
else
- local python_scriptroot="/usr/sbin"
+ python_scriptinto /usr/sbin
python_doscript "${D}"/usr/sbin/smbios-{lcd-brightness,passwd,rbu-bios-update,sys-info,token-ctl,wakeup-ctl,wireless-ctl}
fi
diff --git a/sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild b/sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild
index 08e83cb58e4e..1a5f971da32b 100644
--- a/sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild
+++ b/sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild
@@ -65,7 +65,7 @@ src_install() {
emake install DESTDIR="${D}"
if use python ; then
- local python_scriptroot="/usr/sbin"
+ python_scriptinto /usr/sbin
python_doscript "${ED%/}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,rbu-bios-update,sys-info}
fi