Magellan Linux

Diff of /trunk/installer-simple/bin/installer.sh.in

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

revision 2422 by niro, Tue Jan 7 13:54:06 2014 UTC revision 2425 by niro, Tue Jan 7 13:57:40 2014 UTC
# Line 274  dialog_install_system_image() Line 274  dialog_install_system_image()
274   --gauge "Kopiere System-Image ..." 6 80   --gauge "Kopiere System-Image ..." 6 80
275  }  }
276    
277  dialog_install_meter()  install_meter()
278  {  {
279   while [[ ${CURRENTLINE} != ${TOTALLINES} ]]   while [[ ${CURRENTLINE} != ${TOTALLINES} ]]
280   do   do
# Line 315  dialog_install_failure() Line 315  dialog_install_failure()
315    
316  dialog_main()  dialog_main()
317  {  {
318   METHOD=0   local method=0
319     local retval
320    
321   while [[ ${METHOD} -le 2 ]]   while [[ ${method} -le 2 ]]
322   do   do
323   METHOD=$(dialog \   method=$(menubox $"Configuration:" \
324   --backtitle "${TITLE}" \   $"1:Install system" \
325   --no-cancel \   $"2:Show detected harddrives" \
326   --ok-label "Weiter" \   $"3:Exit and reboot" \
327   --stdout \   $"4:Exit and drop into a shell")
328   --menu "Konfiguration" 14 70 5 \   retval=$?
329   "1" "AutoSta_LX installieren" \   [[ ${retval} -eq 1 ]] && exit 1
330   "2" "Uebersicht gefundener Laufwerke" \   if [[ ${retval} -eq 0 ]]
  "3" "Beenden und neustarten" \  
  "4" "Beenden und eine Shell starten")  
  RES=$?  
  [[ ${RES} -eq 1 ]] && exit 1  
  if [[ ${RES} -eq 0 ]]  
331   then   then
332   case ${METHOD} in   case ${method} in
333   "1") dialog_setup_system_menu ;;   "1") dialog_setup_system_menu ;;
334   "2") dialog_hardware_detection ;;   "2") dialog_hardware_detection ;;
335   "3") install_do_reboot ;;   "3") install_do_reboot ;;
# Line 768  run_install_normal() Line 764  run_install_normal()
764   dialog_setup_hdd_format   dialog_setup_hdd_format
765   setup_hdd_format > /dev/null   setup_hdd_format > /dev/null
766   install_mount_rootfs   install_mount_rootfs
767   (install_system_image > /tmp/install.log) 2> /tmp/install_errors.log | dialog_install_meter | dialog_install_system_image   (install_system_image > /tmp/install.log) 2> /tmp/install_errors.log | install_meter | dialog_install_system_image
768    
769   dialog_install_settings   dialog_install_settings
770   sleep 1   sleep 1
# Line 790  run_install_auto() Line 786  run_install_auto()
786   dialog_setup_hdd_format   dialog_setup_hdd_format
787   setup_hdd_format > /dev/null   setup_hdd_format > /dev/null
788   install_mount_rootfs   install_mount_rootfs
789   (install_system_image > /tmp/install.log) 2> /tmp/install_errors.log | dialog_install_meter | dialog_install_system_image   (install_system_image > /tmp/install.log) 2> /tmp/install_errors.log | install_meter | dialog_install_system_image
790    
791   dialog_install_settings   dialog_install_settings
792   sleep 1   sleep 1

Legend:
Removed from v.2422  
changed lines
  Added in v.2425