Magellan Linux

Diff of /trunk/installer/ncurses-gui/common.sh

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

revision 1058 by niro, Sun May 30 17:33:29 2010 UTC revision 1059 by niro, Mon May 31 20:59:19 2010 UTC
# Line 15  messagebox() Line 15  messagebox()
15   [[ -z ${height} ]] && height=0   [[ -z ${height} ]] && height=0
16   [[ -z ${width} ]] && width=0   [[ -z ${width} ]] && width=0
17    
18     [[ -z ${OK_LABEL} ]] && OK_LABEL="Next"
19    
20   dialog \   dialog \
21   --colors \   --colors \
22   --title "${header}" \   --title "${header}" \
23   --backtitle "${TITLE}" \   --backtitle "${TITLE}" \
24   --ok-label "Next" \   --ok-label "${OK_LABEL}" \
25   --msgbox "${text}" "${height}" "${width}"   --msgbox "${text}" "${height}" "${width}"
26  }  }
27    
# Line 104  yesno() Line 106  yesno()
106  }  }
107    
108  welcome() { messagebox "Welcome" "Welcome to the Magellan-Linux Installer.\n\n\nPress [Enter] to continue." 10 45; }  welcome() { messagebox "Welcome" "Welcome to the Magellan-Linux Installer.\n\n\nPress [Enter] to continue." 10 45; }
109  finish() { messagebox "Finish" "Installation successfully finished." 10 40; }  finish() { OK_LABEL="Exit" messagebox "Finish" "Installation successfully finished." 10 40; }

Legend:
Removed from v.1058  
changed lines
  Added in v.1059