projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e701048
)
dev-lang/python-exec: Silence the migration output for initial install
author
Michał Górny
<mgorny@gentoo.org>
Sat, 6 Feb 2016 09:38:30 +0000
(10:38 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Sat, 6 Feb 2016 09:57:35 +0000
(10:57 +0100)
dev-lang/python-exec/python-exec-2.9999.ebuild
patch
|
blob
|
history
diff --git
a/dev-lang/python-exec/python-exec-2.9999.ebuild
b/dev-lang/python-exec/python-exec-2.9999.ebuild
index 81e31934113ad1025304be744682e6ca16158944..14940d0d0a01b3467e6964834d2a1ff08cb96540 100644
(file)
--- a/
dev-lang/python-exec/python-exec-2.9999.ebuild
+++ b/
dev-lang/python-exec/python-exec-2.9999.ebuild
@@
-116,10
+116,12
@@
pkg_preinst() {
fi
done
- einfo "Keeping the following Python preference: ${old_pythons[*]}"
+ if [[ ${old_pythons[@]} ]]; then
+ einfo "Keeping the following Python preference: ${old_pythons[*]}"
- local IFS=$'\n'
- echo "${old_pythons[*]}" \
- >> "${ED}"etc/python-exec/python-exec.conf || die
+ local IFS=$'\n'
+ echo "${old_pythons[*]}" \
+ >> "${ED}"etc/python-exec/python-exec.conf || die
+ fi
fi
}