Annotation of /trunk/installer-simple/functions/installer-dialogs.sh
Parent Directory | Revision Log
Revision 2422 -
(hide annotations)
(download)
(as text)
Tue Jan 7 13:54:06 2014 UTC (10 years, 8 months ago) by niro
File MIME type: application/x-sh
File size: 482 byte(s)
Tue Jan 7 13:54:06 2014 UTC (10 years, 8 months ago) by niro
File MIME type: application/x-sh
File size: 482 byte(s)
-introduce dialog_select_target_harddrive() function
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 | dialog_no_harddrive_found() | ||
12 | { | ||
13 | OK_LABEL=$"abort" messagebox $"No appropriate harddrive found.\nInstallation failed." | ||
14 | } | ||
15 | niro | 2422 | |
16 | dialog_select_target_harddrive() | ||
17 | { | ||
18 | menubox $"Select installation target drive:" $(for i in ${ALL_DISKS}; do echo "${i}:";done) | ||
19 | } |