Magellan Linux

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

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

revision 2156 by niro, Wed Aug 14 07:25:43 2013 UTC revision 2210 by niro, Mon Oct 14 13:13:46 2013 UTC
# Line 65  print_usage() Line 65  print_usage()
65   echo "    upgrade         - runs a complete system upgrade"   echo "    upgrade         - runs a complete system upgrade"
66   echo "    srcuppretend    - pretend dependencies for a system upgrade from source"   echo "    srcuppretend    - pretend dependencies for a system upgrade from source"
67   echo "    srcupgrade      - runs a complete system upgrade from source"   echo "    srcupgrade      - runs a complete system upgrade from source"
68     echo "    pretend-build-prerequisites"
69     echo "    install-build-prerequisites"
70   echo "    search          - searches mage-tree for a package"   echo "    search          - searches mage-tree for a package"
71   echo "    clean           - removes *all* downloaded packages"   echo "    clean           - removes *all* downloaded packages"
72   echo "    unpack          - unpacks *all* needed package for 'foo'"   echo "    unpack          - unpacks *all* needed package for 'foo'"
# Line 186  case ${METHOD} in Line 188  case ${METHOD} in
188   fetch_packages ${ALLDEPS} || die "fetching packages"   fetch_packages ${ALLDEPS} || die "fetching packages"
189   ;;   ;;
190    
191   pretend|srcpretend)   pretend|srcpretend|pretend-build-prerequisites)
192   # first of all get the right pkg which going to be installed   # first of all get the right pkg which going to be installed
193   PCAT="$(pname2pcat ${MAGENAME})"   PCAT="$(pname2pcat ${MAGENAME})"
194    
# Line 222  case ${METHOD} in Line 224  case ${METHOD} in
224   --pbuild ${PBUILD}   --pbuild ${PBUILD}
225   ;;   ;;
226    
227   install)   install|install-build-prerequisites)
228   have_root_privileges || die "You must be root to run this operation."   have_root_privileges || die "You must be root to run this operation."
229    
230   # 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.2156  
changed lines
  Added in v.2210