Skip to content

Commit

Permalink
fix eselect vi condition
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrobbins committed Jul 11, 2011
1 parent 9c766ac commit 671a570
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions targets/gentoo/stage1.spec
Expand Up @@ -81,6 +81,9 @@ cat > /tmp/build.py << "EOF"
$[[files/pythonjunk]]
EOF

# upgrade portage on stage3 if necessary, before we begin:
emerge -u sys-apps/portage || die

export buildpkgs="$(python /tmp/build.py)"
export STAGE1_USE="$(portageq envvar STAGE1_USE)"
export USE="-* bindist build xml ${STAGE1_USE}"
Expand Down
2 changes: 1 addition & 1 deletion targets/gentoo/stage3.spec
Expand Up @@ -45,7 +45,7 @@ do
rc-update add $service default
done

if [ "$[metro/build]" = "funtoo" ] || [ "$[metro/build]" = "~funtoo" ]
if [ -e /usr/share/eselect/modules/vi.eselect ] && [ -e /bin/busybox ]
then
eselect vi set busybox
fi
Expand Down

0 comments on commit 671a570

Please sign in to comment.