Magellan Linux

Diff of /branches/mage-next/src/depwalker.in

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

trunk/mage/usr/lib/mage/depwalker.sh revision 2360 by niro, Mon Jan 6 12:36:37 2014 UTC branches/mage-next/src/depwalker.in revision 2625 by niro, Wed Mar 5 08:15:28 2014 UTC
# Line 18  decho() Line 18  decho()
18  }  }
19    
20  # include all needed files  # include all needed files
21  [ -f /etc/mage.rc.global ] &&  \  source @@SYSCONFDIR@@/mage.rc.global || die "@@SYSCONFDIR@@/mage.rc.global missing"
22   source /etc/mage.rc.global || \  source ${MAGERC} || die "Your ${MAGERC} is missing. Aborting."
23   die "/etc/mage.rc.global missing"  source ${MLIBDIR}/mage4.functions.sh || die "mage functions missing"
24    source ${MLIBDIR}/smage2.functions.sh || die "smage functions missing"
 [ -f ${MAGERC} ] && source ${MAGERC} || \  
  die "Your ${MAGERC} is missing. Aborting."  
   
 [ -f ${MLIBDIR}/mage4.functions.sh ] && \  
  source ${MLIBDIR}/mage4.functions.sh || \  
  die "mage functions missing"  
   
 [ -f ${MLIBDIR}/smage2.functions.sh ] && \  
  source ${MLIBDIR}/smage2.functions.sh || \  
  die "smage functions missing"  
25    
26  usage()  usage()
27  {  {
# Line 312  then Line 302  then
302   ALLDEPS="${ALLDEPS} ${MAGEFILE}"   ALLDEPS="${ALLDEPS} ${MAGEFILE}"
303   fi   fi
304   else   else
305   # debug info   # debug info
306   decho "ignored package"   decho "ignored package"
307   decho   decho
  fi  
308   fi   fi
309   done   done
310  else  else

Legend:
Removed from v.2360  
changed lines
  Added in v.2625