Magellan Linux

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

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

revision 201 by niro, Tue Aug 16 23:23:33 2005 UTC revision 202 by niro, Sun Aug 21 23:52:50 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/mage3.sh,v 1.18 2005-08-16 23:23:33 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage3.sh,v 1.19 2005-08-21 23:52:42 niro Exp $
4    
5  ##configuration -> mage.rc  ##configuration -> mage.rc
6  #PKGDIR="/usr/src/packages"  #PKGDIR="/usr/src/packages"
# Line 577  case "$1" in Line 577  case "$1" in
577   MY_CAT_FIX="$(dirname ${i})"   MY_CAT_FIX="$(dirname ${i})"
578   CATEGORIE="$(basename ${MY_CAT_FIX%/*})"   CATEGORIE="$(basename ${MY_CAT_FIX%/*})"
579   #builds the package from source   #builds the package from source
580   ${MLIBDIR}/sourceinstall.sh ${i} || exit 1   ${MLIBDIR}/sourceinstall.sh ${i} "${MAGE_TARGETS}" || exit 1
581   done   done
582   run_etc_update   run_etc_update
583   ;;   ;;
# Line 657  case "$1" in Line 657  case "$1" in
657   version)   version)
658   showversion   showversion
659   ;;   ;;
660     regen-mage-tree)
661     if [ -z "${SMAGESCRIPTSDIR}" ] || [ ! -d "${SMAGESCRIPTSDIR}" ]
662     then
663     echo "SMAGESCRIPTSDIR not found. Check your mage.rc or check out smage repos."
664     exit 1
665     fi
666     for i in $(find ${SMAGESCRIPTSDIR} -type f -name "*.smage2")
667     do
668     smage2 only-regen-tree "${i}"
669     done
670     ;;
671   *)   *)
672   print_usage   print_usage
673   ;;   ;;

Legend:
Removed from v.201  
changed lines
  Added in v.202