mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-libs/libsmbios: fix Python shebangs where necessary
Closes: https://bugs.gentoo.org/777012 Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
@@ -44,6 +44,8 @@ src_prepare() {
|
||||
# Don't build yum-plugin - we don't need it
|
||||
sed '/yum-plugin/d' -i Makefile.am || die
|
||||
|
||||
python_fix_shebang src/pyunit/test*.py
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
@@ -66,7 +68,7 @@ src_install() {
|
||||
|
||||
if use python ; then
|
||||
python_scriptinto /usr/sbin
|
||||
python_doscript "${ED}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info}
|
||||
python_doscript "${ED}"/usr/sbin/smbios-{{battery,keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info}
|
||||
fi
|
||||
|
||||
insinto /usr/include/
|
||||
|
||||
Reference in New Issue
Block a user