|
|
# Stuff for emerge | # Stuff for emerge |
| |
_emerge () { | _emerge () { |
local state |
local state |
if (( CURRENT == 2 ));then | if (( CURRENT == 2 ));then |
_arguments -s \ | _arguments -s \ |
'*:*:->actions' \ | '*:*:->actions' \ |
|
|
'world[Represent all packages in the world profiles]' \ | 'world[Represent all packages in the world profiles]' \ |
'system[Represent all the system packages]' | 'system[Represent all the system packages]' |
} | } |
|
local portage_pkglist gentoo_runlevels portdir pkgdir portdir_overlay overlay |
#Reading informations from make.conf | #Reading informations from make.conf |
[[ -n "${PORTDIR}" ]] && portdir="${PORTDIR}" | [[ -n "${PORTDIR}" ]] && portdir="${PORTDIR}" |
[[ -n "${PKGDIR}" ]] && pkgdir="${PKGDIR}" | [[ -n "${PKGDIR}" ]] && pkgdir="${PKGDIR}" |