summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-calculators/units')
-rw-r--r--sci-calculators/units/units-2.14-r1.ebuild1
-rw-r--r--sci-calculators/units/units-2.15.ebuild1
2 files changed, 1 insertions, 1 deletions
diff --git a/sci-calculators/units/units-2.14-r1.ebuild b/sci-calculators/units/units-2.14-r1.ebuild
index 2269d863f54e..45559228bae3 100644
--- a/sci-calculators/units/units-2.14-r1.ebuild
+++ b/sci-calculators/units/units-2.14-r1.ebuild
@@ -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
}
diff --git a/sci-calculators/units/units-2.15.ebuild b/sci-calculators/units/units-2.15.ebuild
index 4d87f5164edd..052a0fabba92 100644
--- a/sci-calculators/units/units-2.15.ebuild
+++ b/sci-calculators/units/units-2.15.ebuild
@@ -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
}