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:
Jeroen Roovers
2017-10-27 02:14:59 +02:00
parent 23c78f229f
commit d32e73d14e
2 changed files with 1 additions and 1 deletions

View File

@@ -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
}

View File

@@ -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
}