Magellan Linux

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

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

revision 2232 by niro, Wed Oct 16 07:41:04 2013 UTC revision 2233 by niro, Wed Oct 16 10:14:41 2013 UTC
# 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.2232  
changed lines
  Added in v.2233