Magellan Linux

Diff of /trunk/installer-simple/functions/common-dialogs.sh

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

revision 2392 by niro, Tue Jan 7 12:54:43 2014 UTC revision 2393 by niro, Tue Jan 7 12:56:52 2014 UTC
# Line 24  messagebox() Line 24  messagebox()
24   shift $((OPTIND-1))   shift $((OPTIND-1))
25   text="$@"   text="$@"
26    
27   [[ -z ${header} ]] && die "no header given"   #[[ -z ${header} ]] && die "no header given"
28   [[ -z ${text} ]] && die "no text given"   [[ -z ${text} ]] && die "no text given"
29   [[ -z ${height} ]] && height=0   [[ -z ${height} ]] && height=0
30   [[ -z ${width} ]] && width=0   [[ -z ${width} ]] && width=0
# Line 59  inputbox() Line 59  inputbox()
59   shift $((OPTIND-1))   shift $((OPTIND-1))
60   text="$@"   text="$@"
61    
62   [[ -z ${header} ]] && die "no header given"   #[[ -z ${header} ]] && die "no header given"
63   [[ -z ${text} ]] && die "no text given"   [[ -z ${text} ]] && die "no text given"
64   [[ -z ${height} ]] && height=0   [[ -z ${height} ]] && height=0
65   [[ -z ${width} ]] && width=0   [[ -z ${width} ]] && width=0
# Line 92  passwordbox() Line 92  passwordbox()
92   shift $((OPTIND-1))   shift $((OPTIND-1))
93   text="$@"   text="$@"
94    
95   [[ -z ${header} ]] && die "no header given"   #[[ -z ${header} ]] && die "no header given"
96   [[ -z ${text} ]] && die "no text given"   [[ -z ${text} ]] && die "no text given"
97   [[ -z ${height} ]] && height=0   [[ -z ${height} ]] && height=0
98   [[ -z ${width} ]] && width=0   [[ -z ${width} ]] && width=0
# Line 126  gaugebox() Line 126  gaugebox()
126   shift $((OPTIND-1))   shift $((OPTIND-1))
127   text="$@"   text="$@"
128    
129   [[ -z ${header} ]] && die "no header given"   #[[ -z ${header} ]] && die "no header given"
130   [[ -z ${text} ]] && die "no text given"   [[ -z ${text} ]] && die "no text given"
131   [[ -z ${height} ]] && height=0   [[ -z ${height} ]] && height=0
132   [[ -z ${width} ]] && width=0   [[ -z ${width} ]] && width=0
# Line 158  yesnobox() Line 158  yesnobox()
158   shift $((OPTIND-1))   shift $((OPTIND-1))
159   text="$@"   text="$@"
160    
161   [[ -z ${header} ]] && die "no header given"   #[[ -z ${header} ]] && die "no header given"
162   [[ -z ${text} ]] && die "no text given"   [[ -z ${text} ]] && die "no text given"
163   [[ -z ${height} ]] && height=0   [[ -z ${height} ]] && height=0
164   [[ -z ${width} ]] && width=0   [[ -z ${width} ]] && width=0

Legend:
Removed from v.2392  
changed lines
  Added in v.2393