mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sci-calculators/units: Put arcane command in correct ebuild (bug #635324).
Package-Manager: Portage-2.3.12, Repoman-2.3.4
This commit is contained in:
@@ -45,7 +45,6 @@ src_install() {
|
||||
python_is_python3 && pyver=3 || pyver=2
|
||||
sed -e "/^outfile/s|'.*'|'/usr/share/units/currency.units'|g" \
|
||||
"units_cur${pyver}" > units_cur || die
|
||||
python_fix_shebang
|
||||
python_doscript units_cur
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -51,6 +51,7 @@ src_install() {
|
||||
-e "/^outfile/s|'.*'|'/usr/share/units/currency.units'|g" \
|
||||
-e 's|^#!|&/usr/bin/python|g' \
|
||||
units_cur_inst > units_cur || die
|
||||
python_fix_shebang units_cur
|
||||
python_doscript units_cur
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user