Magellan Linux

Diff of /trunk/mage/usr/lib/mage/depwalker.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2194 by niro, Mon Jul 15 08:04:58 2013 UTC revision 2195 by niro, Thu Oct 10 11:05:34 2013 UTC
# Line 247  then Line 247  then
247   then   then
248   # get dependencies the package   # get dependencies the package
249   depwalking ${MAGEFILE}   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  
250   fi   fi
251   done   done
252  else  else
253   # get all dependencies of the package   # get all dependencies of the package
254   depwalking ${MAGEFILE}   depwalking ${MAGEFILE}
255    fi
256    
257   # now add the package itself to the dependencies  # now add the package itself to the dependencies
258    # (if not exists already)
259    if checklist_alldeps "${MAGEFILE}"
260    then
261   ALLDEPS="${ALLDEPS} ${MAGEFILE}"   ALLDEPS="${ALLDEPS} ${MAGEFILE}"
262  fi  fi
263    

Legend:
Removed from v.2194  
changed lines
  Added in v.2195