diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-03-15 15:33:48 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-03-15 15:34:03 +0100 |
commit | 94b31c831ca409947d239ade0a516d739fbf5ea5 (patch) | |
tree | 07c50824412893830786b14d88f86aeaa8fbfe63 /sys-libs | |
parent | app-editors/jedit: Stable for amd64. Retroactively mark stable for the remain... (diff) | |
download | gentoo-94b31c831ca409947d239ade0a516d739fbf5ea5.tar.gz gentoo-94b31c831ca409947d239ade0a516d739fbf5ea5.tar.bz2 gentoo-94b31c831ca409947d239ade0a516d739fbf5ea5.zip |
sys-libs/libsmbios: Fixed installation with USE="-python" (bug #577474).
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild b/sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild index 495b64e6a3b9..08e83cb58e4e 100644 --- a/sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild +++ b/sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild @@ -64,10 +64,7 @@ src_configure() { src_install() { emake install DESTDIR="${D}" - if ! use python ; then - rmdir "${ED%/}/libsmbios_c" "${ED%/}/usr/share/smbios-utils" || die - rm -r "${ED%/}/etc" || die - else + if use python ; then local python_scriptroot="/usr/sbin" python_doscript "${ED%/}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,rbu-bios-update,sys-info} fi |