Magellan Linux

Diff of /trunk/installer/include/bootstrap-wrapper.sh

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

revision 1062 by niro, Sun May 30 17:36:22 2010 UTC revision 1063 by niro, Mon May 31 21:03:18 2010 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2  # $Id$  # $Id$
3    
4    source /etc/installer.conf
5    
6  convert_to_message()  convert_to_message()
7  {  {
8   # only für ncurses gui   # only für ncurses gui
# Line 46  wrapper() Line 48  wrapper()
48    
49   ${action} | while read line   ${action} | while read line
50   do   do
51     # add an entry to install log
52     echo "${line}" >> ${INSTALLER_LOG}
53    
54   case $line in   case $line in
55   #*fetching*:*|*!fetch*|*fetch\ complete*) convert_to_message --fetch ${line}; convert_to_percent ${line};;   #*fetching*:*|*!fetch*|*fetch\ complete*) convert_to_message --fetch ${line}; convert_to_percent ${line};;
56   #*unpacking*:*|*!unpack*) convert_to_message --unpack ${line}; convert_to_percent ${line};;   #*unpacking*:*|*!unpack*) convert_to_message --unpack ${line}; convert_to_percent ${line};;
# Line 63  wrapper() Line 68  wrapper()
68    
69  install_stage()  install_stage()
70  {  {
71   NOCOLORS=true bootstrap-default-system 2> /dev/null   # redirect stderr to stdout!
72     NOCOLORS=true bootstrap-default-system 2>&1
73  }  }
74    
75  case $1 in  case $1 in

Legend:
Removed from v.1062  
changed lines
  Added in v.1063