Magellan Linux

Diff of /branches/mage-next/usr/lib/mage/meta-generator.sh

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

revision 2288 by niro, Fri Dec 6 09:27:53 2013 UTC revision 2290 by niro, Fri Dec 6 09:29:41 2013 UTC
# Line 73  COLDEFAULT="\033[0m" Line 73  COLDEFAULT="\033[0m"
73  [ -f /etc/mage.rc.global ] && source /etc/mage.rc.global || die "/etc/mage.rc.global missing"  [ -f /etc/mage.rc.global ] && source /etc/mage.rc.global || die "/etc/mage.rc.global missing"
74  [ -f ${MAGERC} ] && source ${MAGERC} || die "Your ${MAGERC} is missing. Aborting."  [ -f ${MAGERC} ] && source ${MAGERC} || die "Your ${MAGERC} is missing. Aborting."
75  [ -f ${MLIBDIR}/mage4.functions.sh ] && source ${MLIBDIR}/mage4.functions.sh || die "mage functions missing"  [ -f ${MLIBDIR}/mage4.functions.sh ] && source ${MLIBDIR}/mage4.functions.sh || die "mage functions missing"
76    [ -f ${MLIBDIR}/smage2.functions.sh ] && source ${MLIBDIR}/smage2.functions.sh || die "mage functions missing"
77    
78  # default variables  # default variables
79  PKGTARBALL=""  PKGTARBALL=""
# Line 112  then Line 113  then
113  fi  fi
114    
115  # get generic package information from smage file  # get generic package information from smage file
116  source ${SMAGEFILE}  smagesource ${SMAGEFILE}
117    
118  # set the right meta-location  # set the right meta-location
119  [[ ! -d ${METADIR} ]] && install -d ${METADIR}  [[ ! -d ${METADIR} ]] && install -d ${METADIR}

Legend:
Removed from v.2288  
changed lines
  Added in v.2290