Magellan Linux

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

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

revision 2295 by niro, Fri Dec 6 09:48:51 2013 UTC revision 2296 by niro, Fri Dec 6 09:49:44 2013 UTC
# Line 95  SMAGEFILE="$1" Line 95  SMAGEFILE="$1"
95  [ -z ${SMAGEFILE} ] && die "No smage file given."  [ -z ${SMAGEFILE} ] && die "No smage file given."
96  [ -e ${SMAGEFILE} ] || die "Smage file '${SMAGEFILE}' does not exist."  [ -e ${SMAGEFILE} ] || die "Smage file '${SMAGEFILE}' does not exist."
97    
98    # load mage-features
99    load_mage_features
100    
101  if [[ -n ${PKGTARBALL} ]]  if [[ -n ${PKGTARBALL} ]]
102  then  then
103   # abort if given file is not a pkg   # abort if given file is not a pkg

Legend:
Removed from v.2295  
changed lines
  Added in v.2296