Magellan Linux

Diff of /trunk/mage/usr/lib/mage/meta-generator.sh

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

revision 2287 by niro, Fri Dec 6 09:08:31 2013 UTC revision 2289 by niro, Fri Dec 6 09:28:14 2013 UTC
# Line 91  do Line 91  do
91  done  done
92    
93  SMAGEFILE="$1"  SMAGEFILE="$1"
94    [ -z ${SMAGEFILE} ] && die "No smage file given."
95    [ -e ${SMAGEFILE} ] || die "Smage file '${SMAGEFILE}' does not exist."
96    
97  if [[ -n ${PKGTARBALL} ]]  if [[ -n ${PKGTARBALL} ]]
98  then  then
# Line 110  then Line 112  then
112  fi  fi
113    
114  # get generic package information from smage file  # get generic package information from smage file
115  source ${SMAGEFILE}  smagesource ${SMAGEFILE}
116    
117  # set the right meta-location  # set the right meta-location
118  [[ ! -d ${METADIR} ]] && install -d ${METADIR}  [[ ! -d ${METADIR} ]] && install -d ${METADIR}

Legend:
Removed from v.2287  
changed lines
  Added in v.2289