summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuta SATOH <nigoro.dev@gmail.com>2016-02-27 13:46:08 +0900
committerYuta SATOH <nigoro.dev@gmail.com>2016-02-27 13:46:08 +0900
commitca9d6acc9d9a1f24543d30937ffdefc1eccf10fe (patch)
tree532e032f65d6c3b92cb35e0ce2da029a38f23465
parentsys-freebsd: 10.3_beta2 was compiled to be able to fix. (diff)
downloadgentoo-bsd-ca9d6acc9d9a1f24543d30937ffdefc1eccf10fe.tar.gz
gentoo-bsd-ca9d6acc9d9a1f24543d30937ffdefc1eccf10fe.tar.bz2
gentoo-bsd-ca9d6acc9d9a1f24543d30937ffdefc1eccf10fe.zip
automatic_updater.sh: add eselect python set, need >=python-exec-2.4.2.
-rwxr-xr-xscripts/automatic_updater.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/automatic_updater.sh b/scripts/automatic_updater.sh
index 1413b53..0a21d47 100755
--- a/scripts/automatic_updater.sh
+++ b/scripts/automatic_updater.sh
@@ -31,14 +31,11 @@ move_makeconf(){
update_portage(){
local dl_portage_ver="2.2.27"
- emerge -p --nodeps dev-lang/python-exec && :
- if [[ $? -eq 0 ]] ; then
- emerge --nodeps dev-lang/python-exec
- fi
cd /tmp
wget http://dev.gentoo.org/~dolsen/releases/portage/portage-${dl_portage_ver}.tar.bz2
tar xjf portage-${dl_portage_ver}.tar.bz2
PYTHON_TARGETS="python2_7" "portage-${dl_portage_ver}"/bin/emerge --nodeps dev-lang/python-exec
+ eselect python set 1
PYTHON_TARGETS="python2_7" "portage-${dl_portage_ver}"/bin/emerge --nodeps sys-apps/portage
}