Magellan Linux

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

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

revision 299 by niro, Sun Dec 4 17:12:07 2005 UTC revision 305 by niro, Mon Dec 26 23:13:42 2005 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2  # Magellan Linux Installer (mage.sh)  # Magellan Linux Installer (mage.sh)
3  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage4.sh,v 1.11 2005-12-04 17:12:07 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage4.sh,v 1.12 2005-12-26 23:13:42 niro Exp $
4    
5  # default die function  # default die function
6  die()  die()
# Line 113  print_usage() Line 113  print_usage()
113  showversion  showversion
114  echo  echo
115    
 # before anything run mage_setup  
 mage_setup || die "error in mage_setup()"  
   
116  # install method  # install method
117  METHOD="$1"  METHOD="$1"
118    
# Line 142  then Line 139  then
139   BUILDDIR=${MROOT}/${BUILDDIR}   BUILDDIR=${MROOT}/${BUILDDIR}
140  fi  fi
141    
142    # before anything run mage_setup
143    mage_setup || die "error in mage_setup()"
144    
145  case ${METHOD} in  case ${METHOD} in
146   download)   download)
147   # first of all get the right pkg which going to be installed   # first of all get the right pkg which going to be installed

Legend:
Removed from v.299  
changed lines
  Added in v.305