All pastes #164977 Raw Edit

Anonymous

public shellscript v1 · immutable
·published 2006-09-09 09:21 UTC
rendered paste body
#!/bin/bashif [ "$*" != "" ]; then    installed_packages="$*"else    installed_packages="$(eix --format '<category>/<name>') | sed -r 's/Found [0-9]+ matches//g"ficompil_list=""for package in $installed_packages; do    installed_version="$(eix --format '<installedversions>' -e $package | sed -r 's/Found [0-9]+ matches//g')"    for version in $installed_version; do        echo "scanning /usr/portage/$package/*-$version'.ebuild"        [ "$(grep emake /usr/portage/$package/*-$version'.ebuild')" != "" ] && compil_list="$compil_list $package"    donedoneecho $compil_list