|
Lines 141-146
Link Here
|
| 141 |
} |
141 |
} |
| 142 |
if ($opt_c) { |
142 |
if ($opt_c) { |
| 143 |
$ShowCommandsFlag = $opt_c; |
143 |
$ShowCommandsFlag = $opt_c; |
|
|
144 |
$LimitFlag = "<?"; |
| 144 |
} |
145 |
} |
| 145 |
if ($opt_d) { |
146 |
if ($opt_d) { |
| 146 |
$DebugFlag = $opt_d; |
147 |
$DebugFlag = $opt_d; |
|
Lines 239-245
Link Here
|
| 239 |
$rc = &CompareVersions($currentVersion, $indexVersion); |
240 |
$rc = &CompareVersions($currentVersion, $indexVersion); |
| 240 |
|
241 |
|
| 241 |
if ($rc == 0) { |
242 |
if ($rc == 0) { |
| 242 |
next if $ShowCommandsFlag; |
|
|
| 243 |
$versionCode = "="; |
243 |
$versionCode = "="; |
| 244 |
$Comment = "up-to-date"; |
244 |
$Comment = "up-to-date"; |
| 245 |
} |
245 |
} |
|
Lines 248-254
Link Here
|
| 248 |
$Comment = "needs updating (index has $indexVersion)" |
248 |
$Comment = "needs updating (index has $indexVersion)" |
| 249 |
} |
249 |
} |
| 250 |
elsif ($rc > 0) { |
250 |
elsif ($rc > 0) { |
| 251 |
next if $ShowCommandsFlag; |
|
|
| 252 |
$versionCode = ">"; |
251 |
$versionCode = ">"; |
| 253 |
$Comment = "succeeds index (index has $indexVersion)"; |
252 |
$Comment = "succeeds index (index has $indexVersion)"; |
| 254 |
} |
253 |
} |