Magellan Linux

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

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

revision 1562 by niro, Wed Dec 28 09:59:15 2011 UTC revision 1563 by niro, Wed Dec 28 10:02:01 2011 UTC
# Line 98  checklist_processeddeps() Line 98  checklist_processeddeps()
98  }  }
99    
100  #####################  #####################
101  ##  rumwandern /path/to/mage/file/.mage  ##  depwalking /path/to/mage/file/.mage
102  rumwandern()  depwalking()
103  {  {
104   unset DEPEND   unset DEPEND
105   unset SDEPEND   unset SDEPEND
# Line 194  rumwandern() Line 194  rumwandern()
194   ### check ob DFILE schon installiert ist ###   ### check ob DFILE schon installiert ist ###
195   if [ ! -d ${MROOT}${INSTALLDB}/${PCAT}/${PNAME}-${PVER}-${PBUILD} ]   if [ ! -d ${MROOT}${INSTALLDB}/${PCAT}/${PNAME}-${PVER}-${PBUILD} ]
196   then   then
197   rumwandern ${HIGHEST_DEPFILE}   depwalking ${HIGHEST_DEPFILE}
198   ALLDEPS="${ALLDEPS} ${HIGHEST_DEPFILE}"   ALLDEPS="${ALLDEPS} ${HIGHEST_DEPFILE}"
199   fi   fi
200   fi   fi
# Line 241  then Line 241  then
241   if [ ! -d ${INSTALLDB}/${PCAT}/${PNAME}-${PVER}-${PBUILD} ]   if [ ! -d ${INSTALLDB}/${PCAT}/${PNAME}-${PVER}-${PBUILD} ]
242   then   then
243   # get dependencies the package   # get dependencies the package
244   rumwandern ${MAGEFILE}   depwalking ${MAGEFILE}
245    
246   # now add the package itself to the dependencies   # now add the package itself to the dependencies
247   # (if not exists already)   # (if not exists already)
# Line 254  then Line 254  then
254   done   done
255  else  else
256   # get all dependencies of the package   # get all dependencies of the package
257   rumwandern ${MAGEFILE}   depwalking ${MAGEFILE}
258    
259   # now add the package itself to the dependencies   # now add the package itself to the dependencies
260   ALLDEPS="${ALLDEPS} ${MAGEFILE}"   ALLDEPS="${ALLDEPS} ${MAGEFILE}"

Legend:
Removed from v.1562  
changed lines
  Added in v.1563