Magellan Linux

Annotation of /trunk/installer-simple/functions/installer-dialogs.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2426 - (hide annotations) (download) (as text)
Tue Jan 7 14:06:18 2014 UTC (10 years, 4 months ago) by niro
File MIME type: application/x-sh
File size: 1042 byte(s)
-moved serveral dialog functions to install-dialogs and use common-dialog functions for them
1 niro 2420 welcome()
2     {
3     messagebox -y 10 -x 70 -h $"Welcome" $"Welcome to the ${DEFAULT_TITLE}.\n\n\nPress [Enter] to continue."
4     }
5    
6     finish()
7     {
8     OK_LABEL=$"Exit" messagebox -y 10 -x 70 -h $"Finish" $"Installation was successfully finished."
9     }
10 niro 2421
11 niro 2426 dialog_setup_hdd_create_partitions()
12     {
13     infobox $"Creating partitions ..."
14     }
15    
16     dialog_setup_hdd_format()
17     {
18     infobox $"Creating filesystems ..."
19     }
20    
21     dialog_install_settings()
22     {
23     infobox $"Saving system settings ..."
24     }
25    
26     dialog_install_system_image()
27     {
28     gaugebox $"Copying system image ..."
29     }
30    
31     dialog_install_bootsector()
32     {
33     infobox $"Writing bootsector ..."
34     }
35    
36     dialog_install_successful()
37     {
38     messagebox $"The installation was \Z2successful\Zn."
39     }
40    
41     dialog_install_failure()
42     {
43     messagebox $"The installation \Z1failed\Zn.\n\nError at ${ERROR}, RetVal: ${RETVAL}"
44     }
45    
46 niro 2421 dialog_no_harddrive_found()
47     {
48     OK_LABEL=$"abort" messagebox $"No appropriate harddrive found.\nInstallation failed."
49     }
50 niro 2422
51     dialog_select_target_harddrive()
52     {
53     menubox $"Select installation target drive:" $(for i in ${ALL_DISKS}; do echo "${i}:";done)
54     }