Magellan Linux

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

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

revision 2222 by niro, Wed Oct 16 07:41:04 2013 UTC revision 2268 by niro, Fri Oct 25 06:48:57 2013 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
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.17 2008-06-16 09:29:57 niro Exp $  # $Id$
4    
5  # default die function  # default die function
6  die()  die()
# Line 139  fi Line 139  fi
139    
140  case ${METHOD} in  case ${METHOD} in
141   download)   download)
142     have_root_privileges || die "You must be root to run this operation."
143    
144   # first of all get the right pkg which going to be installed   # first of all get the right pkg which going to be installed
145   PCAT="$(pname2pcat ${MAGENAME})"   PCAT="$(pname2pcat ${MAGENAME})"
146    
# Line 170  case ${METHOD} in Line 172  case ${METHOD} in
172   ;;   ;;
173    
174   srcdownload)   srcdownload)
175     have_root_privileges || die "You must be root to run this operation."
176    
177   # first of all get the right pkg which going to be installed   # first of all get the right pkg which going to be installed
178   PCAT="$(pname2pcat ${MAGENAME})"   PCAT="$(pname2pcat ${MAGENAME})"
179    

Legend:
Removed from v.2222  
changed lines
  Added in v.2268