--- trunk/mage/usr/lib/mage/magequery.sh 2011/01/28 20:33:29 1206 +++ trunk/mage/usr/lib/mage/magequery.sh 2011/05/12 21:28:23 1288 @@ -77,6 +77,11 @@ unset i pkg for i in $(fgrep -rl "${SEARCH_PATH}" ${INSTALLDB}) do + # ignore magefiles! + case ${i} in + *.mage) continue ;; + esac + # print categorie and pkgname pkg="$(basename ${i%/*/*})/$(basename ${i%/*})" if [[ -z $(echo ${S_PACKAGES} | grep ${pkg}) ]]