--- trunk/mage/usr/lib/mage/depwalker.sh 2013/10/09 10:47:58 2194 +++ trunk/mage/usr/lib/mage/depwalker.sh 2013/10/10 11:05:34 2195 @@ -247,21 +247,17 @@ then # get dependencies the package depwalking ${MAGEFILE} - - # now add the package itself to the dependencies - # (if not exists already) - #if [ -z "$(echo ${ALLDEPS} | fgrep "${MAGEFILE}")" ] - if checklist_alldeps "${MAGEFILE}" - then - ALLDEPS="${ALLDEPS} ${MAGEFILE}" - fi fi done else # get all dependencies of the package depwalking ${MAGEFILE} +fi - # now add the package itself to the dependencies +# now add the package itself to the dependencies +# (if not exists already) +if checklist_alldeps "${MAGEFILE}" +then ALLDEPS="${ALLDEPS} ${MAGEFILE}" fi