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