summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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
}