~ubuntu-branches/ubuntu/hoary/acroread/hoary-backports

« back to all changes in this revision

Viewing changes to debian/INSTALL_Debian

  • Committer: Bazaar Package Importer
  • Author(s): Ubuntu Archive Auto-Backport
  • Date: 2005-07-26 14:24:24 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050726142424-c660bcmt4hsf4jl5
Tags: 7.0-0.9~hoary1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
#
 
3
# Install Script for UNIX Acrobat Exchange and Reader v. 7.0.0
 
4
#
 
5
# Copyright (c)1995-2005 Adobe Systems Incorporated
 
6
# All Rights Reserved
 
7
#
 
8
##########################################################################
 
9
 
 
10
echoawk ()
 
11
{
 
12
  echo $* | awk '{ printf "%s", $0 }'
 
13
}
 
14
 
 
15
echon ()
 
16
{
 
17
  echo -n "$*"
 
18
}
 
19
 
 
20
echoc ()
 
21
{
 
22
  echo "${*}\c"
 
23
}
 
24
 
 
25
##########################################################################
 
26
 
 
27
yesno()
 
28
{
 
29
  msg="$1"
 
30
  def="$2"
 
31
  while true ; do
 
32
    echo " "
 
33
    $echonl "$msg"
 
34
    read answer
 
35
    if [ "$answer" ] ; then
 
36
      case "$answer" in
 
37
        y|Y|yes|YES)
 
38
          return 0
 
39
          ;;
 
40
        n|N|no|NO)
 
41
          return 1
 
42
          ;;
 
43
        *)
 
44
          echo " "
 
45
          echo "ERROR: Invalid response, expected \"yes\" or \"no\"."
 
46
          continue
 
47
          ;;
 
48
      esac
 
49
    else
 
50
      return $def
 
51
    fi
 
52
  done
 
53
}
 
54
 
 
55
TypeCheck() 
 
56
{
 
57
  h=`type $1 2> /dev/null`
 
58
  case " $h " in
 
59
  *' '/*/$1' '*)
 
60
    return 0
 
61
    ;;
 
62
  *)
 
63
    return 1
 
64
    ;;
 
65
  esac
 
66
}
 
67
 
 
68
 
 
69
OutputLicense ()
 
70
{
 
71
  if [ -z "$1" ] ; then
 
72
    return
 
73
  fi
 
74
 
 
75
  if [ ! -f "$1" ] ; then
 
76
    echo " "
 
77
    echo "ERROR: Cannot find license file ... aborting"
 
78
    echo " "
 
79
    exit 1
 
80
  else
 
81
    LicenseFile="$1"
 
82
  fi
 
83
 
 
84
  PAGER=cat
 
85
 TypeCheck $PAGER 
 
86
  if  [ $? -ne 0 ] || [ -z "$PAGER" ] ; then
 
87
    command=cat
 
88
    TypeCheck pg
 
89
    if [ $? -eq 0 ] ; then 
 
90
      command=pg 
 
91
    fi
 
92
    TypeCheck more
 
93
    if [ $? -eq 0 ] ; then 
 
94
      command=more 
 
95
    fi
 
96
  else
 
97
      command="$PAGER"
 
98
  fi
 
99
 
 
100
 
 
101
  echo " "
 
102
 
 
103
  if [ "$command" = "less" ]; then
 
104
        command="$command -f"
 
105
  fi
 
106
 
 
107
  $command "$LicenseFile"
 
108
 
 
109
  answer=
 
110
  while [ -z "$answer" ] ; do
 
111
    echo " "
 
112
    echo " "
 
113
    $echonl "Please type \"accept\" to accept the terms and conditions of license agreement; Type \"decline\" to exit. "
 
114
#    read answer
 
115
    answer=ACCEPT
 
116
    ucanswer=`echo "${answer}" | tr '[a-z]' '[A-Z]'`
 
117
    case "$ucanswer" in
 
118
    ACCEPT )
 
119
      ;;
 
120
    DECLINE )
 
121
      echo " "
 
122
      echo "License agreement not accepted ... aborting installation"
 
123
      echo " "
 
124
      exit 1
 
125
      ;;
 
126
    *)
 
127
      echo " "
 
128
      echo "ERROR: Invalid response, expected \"accept\" or \"decline\" ... try again ?"
 
129
      answer=
 
130
      ;;
 
131
    esac
 
132
  done
 
133
}
 
134
 
 
135
PrintRequiredFree()
 
136
{
 
137
  total=0
 
138
  OLD_IFS=$IFS
 
139
  IFS="\""
 
140
 
 
141
 
 
142
  for i in $* ; do
 
143
    if [ "$i" -a -f "$i" ] ; then
 
144
        IFS=$OLD_IFS
 
145
 
 
146
        if [ `uname -s` = "Linux" ] ; then
 
147
          size=`ls -lLn "$i" | ( read perm links owner group size date ; echo $size )`
 
148
        else
 
149
          size=`ls -lLon "$i" | ( read perm links owner size date ; echo $size )`
 
150
        fi
 
151
        IFS="\""
 
152
 
 
153
      if [ "$size" ] ; then
 
154
        total=`expr $total + $size`
 
155
      fi
 
156
    fi
 
157
  done
 
158
  IFS=$OLD_IFS
 
159
 
 
160
  megs=`expr $total / 1048576 + 1`
 
161
 
 
162
  echo " "
 
163
  echo "This installation requires ${megs} MB of free disk space."
 
164
}
 
165
 
 
166
ExtractFiles ()
 
167
{
 
168
 
 
169
   prev_directory="`pwd 2> /dev/null`"
 
170
   cd "$1" 
 
171
   if [ `uname -s` = "Linux" ] ; then
 
172
        tar --no-same-owner -xpf "$2"  
 
173
   else
 
174
        tar xpfo "$2"
 
175
   fi
 
176
 
 
177
   cd "$prev_directory"
 
178
 
 
179
}
 
180
 
 
181
 
 
182
InstallFiles ()
 
183
{
 
184
  msg="$1"
 
185
  install="$2"
 
186
  shift
 
187
  shift
 
188
 
 
189
  echo " "
 
190
 
 
191
  for i in "$@" ; do
 
192
    if [ "$i" ] ; then
 
193
      if [ "$msg" ] ; then
 
194
        $echonl "$msg"
 
195
        msg=""
 
196
      fi
 
197
      ExtractFiles "$install" "$i"
 
198
    fi
 
199
  done
 
200
 
 
201
  if [ -z "$msg" ] ; then
 
202
    echo "Done"
 
203
  fi
 
204
}
 
205
 
 
206
GetInstallDirectory ()
 
207
{
 
208
  var=$1
 
209
  
 
210
#  defdir="/usr/local/Adobe/Acrobat7.0"
 
211
  defdir="/usr/lib/Adobe/Acrobat7.0"
 
212
  case "$OSname" in
 
213
    SunOS)
 
214
      case "$OSrelease" in
 
215
        4.1.3*|4.1.4*|4.1C) defdir="/usr/Adobe/Acrobat7.0" ;;
 
216
        5.*) defdir="/opt/Adobe/Acrobat7.0" ;;
 
217
      esac
 
218
      ;;
 
219
    HP-UX)
 
220
      case "$OSrelease" in
 
221
        *.09.*) defdir="/usr/Adobe/Acrobat7.0" ;;
 
222
        *.10.*) defdir="/opt/Adobe/Acrobat7.0" ;;
 
223
        *) defdir="/Adobe/Acrobat7.0" ;;
 
224
      esac
 
225
      ;;
 
226
    AIX)
 
227
      defdir="/usr/lpp/Adobe/Acrobat7.0"
 
228
      ;;
 
229
  esac
 
230
 
 
231
  while [ -z "$InstallDir" ] ; do
 
232
 
 
233
    InstallDir="$defdir"
 
234
    InstallDir="$CurrentDirectory/debian/acroread$defdir"
 
235
 
 
236
    echo " "
 
237
    $echonl "Enter installation directory for Adobe Reader ${Version} [${InstallDir}] "
 
238
#    read answer
 
239
    answer=
 
240
    case "$answer" in
 
241
      "")
 
242
        ;;
 
243
      *)
 
244
        InstallDir="$answer"
 
245
        ;;
 
246
    esac
 
247
 
 
248
    var=`echo $InstallDir |  cut -d "\"" -f 2`
 
249
 
 
250
        case "$var" in
 
251
    ~*)
 
252
      if [ -f /bin/csh -a -x /bin/csh ] ; then
 
253
        var=`/bin/csh -c "echo $var"`
 
254
      fi
 
255
      ;;
 
256
    ../*|./*)
 
257
      var=`pwd`/"${var}"
 
258
      ;;
 
259
    *)
 
260
      ;;
 
261
        esac
 
262
    eval var=\"${var}\"
 
263
    InstallDir=$var
 
264
 
 
265
        if [ -f "$InstallDir" ] ; then
 
266
      
 
267
        echo " "
 
268
        echo "\"$InstallDir\" exists but is not a directory. Please specify a different location. "
 
269
        InstallDir=""
 
270
        continue;
 
271
      
 
272
    fi
 
273
 
 
274
    if [ ! -d "$InstallDir" ] ; then
 
275
      echo " "
 
276
      echo "Directory \"$InstallDir\" does not exist."
 
277
      $echonl "Do you want to create it now? [y]  "
 
278
#      read answer
 
279
       answer=
 
280
 
 
281
      if [ "$answer" ] ; then
 
282
          case "$answer" in
 
283
             y | Y )
 
284
               mkdir -p "$InstallDir"
 
285
             ;;
 
286
             n | N )
 
287
               echo "Exiting installation..."
 
288
               exit 0
 
289
             ;;
 
290
          esac
 
291
      else
 
292
         mkdir -p "$InstallDir"
 
293
      fi
 
294
 
 
295
      if [ ! -d "$InstallDir" ] ; then
 
296
        echo " "
 
297
        echo "ERROR: Cannot make directory \"$InstallDir\"."
 
298
        InstallDir=""
 
299
        continue;
 
300
      fi
 
301
    fi
 
302
    
 
303
    export "InstallDir"
 
304
 
 
305
 
 
306
    if ( echo foo > "$InstallDir"/AcroWriteTest ) 2> /dev/null ; then
 
307
      rm -f "$InstallDir"/AcroWriteTest
 
308
      break
 
309
    else
 
310
      echo " "
 
311
      echo "ERROR: Cannot write to directory \"$InstallDir\"."
 
312
      InstallDir=""
 
313
      continue
 
314
    fi
 
315
  done
 
316
 
 
317
 
 
318
 
 
319
  ReadInstallDir="$InstallDir"
 
320
  
 
321
  
 
322
}
 
323
 
 
324
MakeLibLDAPLinks()
 
325
{
 
326
 
 
327
InstallDir="$1/Reader"
 
328
 
 
329
if [ ! -e /usr/lib/libldap.so ]
 
330
then
 
331
        rm -f "$InstallDir"/intellinux/lib/libldap.so 2>/dev/null
 
332
 
 
333
        LIB_LDAP=`ls -tr /usr/lib/libldap.so*  2>/dev/null | tail -n 1`
 
334
 
 
335
        if [ "$LIB_LDAP" = "" ] 
 
336
        then
 
337
                LIB_LDAP=`ls -tr /usr/lib/libldap* 2>/dev/null | grep -v libldap_r | grep -v libldapcpp | grep '\.so' | tail -n 1`
 
338
        fi
 
339
 
 
340
        if [ "$LIB_LDAP" != "" ] 
 
341
        then
 
342
                ln -s $LIB_LDAP "$InstallDir"/intellinux/lib/libldap.so
 
343
        fi
 
344
fi
 
345
 
 
346
if [ ! -e /usr/lib/liblber.so ]
 
347
then
 
348
        rm -f "$InstallDir"/intellinux/lib/liblber.so 2>/dev/null
 
349
 
 
350
        LIB_LBER=`ls -tr /usr/lib/liblber.so* 2>/dev/null | tail -n 1`
 
351
 
 
352
        if [ "$LIB_LBER" = "" ] 
 
353
        then
 
354
                LIB_LBER=`ls -tr /usr/lib/liblber* 2>/dev/null | grep -v liblber_r | grep '\.so' | tail -n 1`
 
355
        fi
 
356
 
 
357
        if [ "$LIB_LBER" != "" ] 
 
358
        then
 
359
                ln -s $LIB_LBER "$InstallDir"/intellinux/lib/liblber.so
 
360
        fi
 
361
fi
 
362
}
 
363
 
 
364
 
 
365
InstallReader()
 
366
{
 
367
  ReadConfig="$1"
 
368
  ReadPlatformTar="$2"
 
369
  SearchPlatformTar="$3"
 
370
  CustomPlatformTar="$4"
 
371
  
 
372
  
 
373
  OutputLicense "$ReadLicense"
 
374
  ReadLicense=""
 
375
 
 
376
  PrintRequiredFree "$ReadTar" "$SearchTar" "$CustomTar" \
 
377
    "$ReadPlatformTar" "$SearchPlatformTar" "$CustomPlatformTar"
 
378
 
 
379
 
 
380
  if [ -z "$ReadInstallDir" ] ; then
 
381
    GetInstallDirectory ReadInstallDir
 
382
  fi
 
383
 
 
384
  echo $ReadInstallDir
 
385
 
 
386
  InstallFiles "Installing platform independent files ... " \
 
387
    "$ReadInstallDir" "$ReadTar" "$SearchTar" "$CustomTar"
 
388
  InstallFiles "Installing platform dependent files ... " \
 
389
    "$ReadInstallDir" \
 
390
    "$ReadPlatformTar" "$SearchPlatformTar" "$CustomPlatformTar"
 
391
 
 
392
 
 
393
  if [ `uname -s` = "Linux" ] ; then
 
394
    MakeLibLDAPLinks "$ReadInstallDir"
 
395
  fi 
 
396
 
 
397
  ReadTar=""
 
398
  SearchTar=""
 
399
  CustomTar=""
 
400
}
 
401
 
 
402
##############################################################
 
403
 
 
404
#
 
405
# Initialization:
 
406
#
 
407
 
 
408
umask 022
 
409
 
 
410
ScriptName=`basename "$0"`
 
411
CurrentDirectory=`pwd`
 
412
eval CurrentDirectory=\"${CurrentDirectory}\"
 
413
 
 
414
ScriptDirectory=`dirname "$0"`
 
415
eval ScriptDirectory=\"${ScriptDirectory}\"
 
416
 
 
417
AcroSerNum=""
 
418
AcroCompName=""
 
419
ReadInstallDir=""
 
420
case "${ScriptDirectory}" in
 
421
  /*) ;;
 
422
  .) ScriptDirectory="$CurrentDirectory" ;;
 
423
  *) ScriptDirectory="$CurrentDirectory"/"$ScriptDirectory" ;;
 
424
esac
 
425
 
 
426
 TypeCheck uname
 
427
  if [ $? -eq 0 ] ; then
 
428
    OSname=`uname -s`
 
429
    if [ "$OSname" = "AIX" ] ; then
 
430
      OSrelease=`uname -a | ( read name host minor major foo ; echo $major.$minor )`
 
431
    else
 
432
      OSrelease=`uname -r`
 
433
    fi
 
434
  else
 
435
    OSname=unknown
 
436
    OSrelease=unknown
 
437
  fi
 
438
 
 
439
 
 
440
 
 
441
if [ `echo "x\c"` = "x" ] ; then
 
442
  echonl=echoc
 
443
else
 
444
  echonl=echon
 
445
fi
 
446
 
 
447
Version=7.0.0
 
448
 
 
449
#
 
450
# Get the filenames:
 
451
#
 
452
 
 
453
for i in "${ScriptDirectory}"/* "${ScriptDirectory}"/../COMMON/* "${ScriptDirectory}"/../common/*; do
 
454
  if [ -f "$i" ] ; then
 
455
    case $i in
 
456
      */licread.txt*|*/LICREAD.TXT*)
 
457
        ReadLicense="$i"
 
458
        ;;
 
459
      */common.tar*|*/COMMON.TAR*)
 
460
        ReadTar="$i"
 
461
        ;;
 
462
      */search.tar*|*/SEARCH.TAR*)
 
463
        SearchTar="$i"
 
464
        ;;
 
465
      */custom.tar*|*/CUSTOM.TAR*)
 
466
        CustomTar="$i"
 
467
        ;;
 
468
      */solrdr.tar*|*/SSOLR.TAR*)
 
469
        ReadSparcSolarisTar="$i"
 
470
        ;;
 
471
      */hpuxrdr.tar*|*/HPUXRDR.TAR*)
 
472
        ReadHppaHpuxTar="$i"
 
473
        ;;
 
474
      */aixrdr.tar*|*/AIXRDR.TAR*)
 
475
        ReadRS6000AIXTar="$i"
 
476
        ;;
 
477
      */ilinxr.tar*|*/ILINXR.TAR*)
 
478
        ReadIntelLinuxTar="$i"
 
479
        ;;
 
480
      */ilinxc.tar*|*/ILINXC.TAR*)
 
481
        CustomIntelLinuxTar="$i"
 
482
        ;;
 
483
    esac
 
484
  fi
 
485
done
 
486
 
 
487
 
 
488
#
 
489
# Validate the configurations:
 
490
#
 
491
 
 
492
NumConfigs=0
 
493
 
 
494
if [ "$ReadTar" -a "$ReadLicense" ] ; then
 
495
  if [ "$ReadSparcSolarisTar" ] ; then
 
496
    NumConfigs=`expr $NumConfigs + 1`
 
497
    ReadSparcSolarisNum=$NumConfigs
 
498
  fi
 
499
  if [ "$ReadHppaHpuxTar" ] ; then
 
500
    NumConfigs=`expr $NumConfigs + 1`
 
501
    ReadHppaHpuxNum=$NumConfigs
 
502
  fi
 
503
  if [ "$ReadRS6000AIXTar" ] ; then
 
504
    NumConfigs=`expr $NumConfigs + 1`
 
505
    ReadRS6000AIXNum=$NumConfigs
 
506
  fi
 
507
  if [ "$ReadIntelLinuxTar" ] ; then
 
508
    NumConfigs=`expr $NumConfigs + 1`
 
509
    ReadIntelLinuxNum=$NumConfigs
 
510
  fi
 
511
fi
 
512
if [ "$NumConfigs" = "0" ] ; then
 
513
  echo " "
 
514
  echo "ERROR: No configurations found ... aborting"
 
515
  echo " "
 
516
  exit 1
 
517
elif [ "$NumConfigs" = "1" ] ; then
 
518
  SingleConfig=true
 
519
fi
 
520
 
 
521
NumConfigs=`expr $NumConfigs + 1`
 
522
ExitNum=$NumConfigs
 
523
 
 
524
 
 
525
#
 
526
# Check if there is a configuration supported by this OS.
 
527
#
 
528
 
 
529
case "$OSname" in
 
530
  SunOS)
 
531
    case "$OSrelease" in
 
532
      4.1.3*|4.1.4*|4.1C)
 
533
        ReadDefaultNum="$ReadSparcSunNum"
 
534
        DefaultName="SPARC/SunOS 4.1.3 and later"
 
535
        ;;
 
536
      5.1|5.1.*|5.2|5.2.*)
 
537
        ;;
 
538
      5.*)
 
539
        MachArch=`uname -p`
 
540
        case "$MachArch" in
 
541
          sparc)
 
542
            ReadDefaultNum="$ReadSparcSolarisNum"
 
543
            DefaultName="SPARC/Solaris 2.x"
 
544
            ;;
 
545
          esac
 
546
        ;;
 
547
    esac
 
548
    ;;
 
549
  HP-UX)
 
550
    case "$OSrelease" in
 
551
      *.09.*|*.10.*|*.11.*)
 
552
        ReadDefaultNum="$ReadHppaHpuxNum"
 
553
        DefaultName="HP-UX"
 
554
        ;;
 
555
    esac
 
556
    ;;
 
557
  AIX)
 
558
    case "$OSrelease" in
 
559
      4.*|5.*)
 
560
        ReadDefaultNum="$ReadRS6000AIXNum"
 
561
        DefaultName="AIX"
 
562
      ;;
 
563
    esac
 
564
    ;;
 
565
  Linux)
 
566
    ReadDefaultNum="$ReadIntelLinuxNum"
 
567
    DefaultName="Intel/Linux"
 
568
    ;;
 
569
esac
 
570
 
 
571
if  [ -z "$ReadDefaultNum" ] ; then
 
572
  echo ""
 
573
  echo "WARNING: The chosen configuration will not run on your current platform ($OSname/$OSrelease)."
 
574
  if yesno "Continue installation? [n] " 1 ; then
 
575
    :
 
576
  else
 
577
    exit 1
 
578
  fi
 
579
fi
 
580
 
 
581
 
 
582
#
 
583
# If multiple confurations, get the default configuration
 
584
#
 
585
 
 
586
if [ -z "$SingleConfig" ] ; then
 
587
  if [ "$ReadDefaultNum" ] ; then
 
588
    if yesno "Install default configuration, Acrobat Reader ${Version} for $DefaultName? [y] " 0 ; then
 
589
      DefaultConfig="$ReadDefaultNum"
 
590
    fi
 
591
  fi
 
592
fi
 
593
 
 
594
 
 
595
#
 
596
# If a single configuration available the loop will be executed once
 
597
# otherwise it will ask for each configuration to install
 
598
#
 
599
 
 
600
while [ "$NumConfigs" -gt 1 ] ; do
 
601
 
 
602
  #
 
603
  # If multiple configuration ask for which to install
 
604
  #
 
605
 
 
606
  if [ "$SingleConfig" ] ; then
 
607
 
 
608
    ConfigNum=1
 
609
 
 
610
  elif [ "$DefaultConfig" ] ; then
 
611
 
 
612
    ConfigNum="$DefaultConfig"
 
613
 
 
614
  else
 
615
 
 
616
    #
 
617
    # Display multiple configurations
 
618
    #
 
619
 
 
620
    echo " "
 
621
    echo "The following configurations are available for installation:"
 
622
    echo " "
 
623
 
 
624
    if [ "$AcroSparcSolarisNum" ] ; then
 
625
      echo "  ${AcroSparcSolarisNum}. Acrobat ${Version} for SPARC/Solaris 2.x"
 
626
    fi
 
627
    if [ "$AcroHppaHpuxNum" ] ; then
 
628
      echo "  ${AcroHppaHpuxNum}. Acrobat ${Version} for HP-UX"
 
629
    fi
 
630
    if [ "$AcroRS6000AIXNum" ] ; then
 
631
      echo "  ${AcroRS6000AIXNum}. Acrobat ${Version} for AIX"
 
632
    fi
 
633
    if [ "$AcroIntelLinuxNum" ] ; then
 
634
      echo "  ${AcroIntelLinuxNum}. Acrobat ${Version} for Intel/Linux"
 
635
    fi
 
636
    if [ "$ReadSparcSolarisNum" ] ; then
 
637
        echo "  ${ReadSparcSolarisNum}. Acrobat Reader ${Version} for SPARC/Solaris 2.x"
 
638
    fi
 
639
    if [ "$ReadHppaHpuxNum" ] ; then
 
640
        echo "  ${ReadHppaHpuxNum}. Acrobat Reader ${Version} for HP-UX"
 
641
    fi
 
642
    if [ "$ReadRS6000AIXNum" ] ; then
 
643
      echo "  ${ReadRS6000AIXNum}. Acrobat Reader ${Version} for AIX"
 
644
    fi
 
645
    if [ "$ReadIntelLinuxNum" ] ; then
 
646
      echo "  ${ReadIntelLinuxNum}. Acrobat Reader ${Version} for Intel/Linux"
 
647
    fi
 
648
    if [ "$ExitNum" ] ; then
 
649
        echo "  ${ExitNum}. Exit Acrobat installation"
 
650
    fi
 
651
 
 
652
    echo " "
 
653
    $echonl "Enter the configuration number to install: "
 
654
    read ConfigNum
 
655
 
 
656
  fi
 
657
 
 
658
 
 
659
  #
 
660
  # Install the configuration
 
661
  #
 
662
 
 
663
  if [ -z "$ConfigNum" ] ; then
 
664
 
 
665
    echo " "
 
666
    echo "ERROR: Invalid response ... try again"
 
667
    continue
 
668
  elif [ "$ConfigNum" = "$ReadSparcSolarisNum" ] ; then
 
669
 
 
670
    InstallReader sparcsolaris "$ReadSparcSolarisTar" \
 
671
      "$SearchSparcSolarisTar" "$CustomSparcSolarisTar"
 
672
    ReadSparcSolarisNum=""
 
673
  elif [ "$ConfigNum" = "$ReadHppaHpuxNum" ] ; then
 
674
 
 
675
    InstallReader hppahpux "$ReadHppaHpuxTar" \
 
676
      "$SearchHppaHpuxTar" "$CustomHppaHpuxTar"
 
677
    ReadHppaHpuxNum=""
 
678
  elif [ "$ConfigNum" = "$ReadRS6000AIXNum" ] ; then
 
679
 
 
680
    InstallReader rs6000aix "$ReadRS6000AIXTar" \
 
681
      "$SearchRS6000AIXTar" "$CustomRS6000AIXTar"
 
682
    ReadRS6000AIXNum=""
 
683
 
 
684
  elif [ "$ConfigNum" = "$ReadIntelLinuxNum" ] ; then
 
685
 
 
686
    InstallReader intellinux "$ReadIntelLinuxTar" \
 
687
      "$SearchIntelLinuxTar" "$CustomIntelLinuxTar"
 
688
    ReadIntelLinuxNum=""
 
689
 
 
690
  elif [ "$ConfigNum" = "$ExitNum" ] ; then
 
691
 
 
692
    break
 
693
 
 
694
  else
 
695
 
 
696
    echo " "
 
697
    echo "ERROR: Invalid response ... try again"
 
698
    continue
 
699
 
 
700
  fi
 
701
 
 
702
  if [ "$DefaultConfig" ] ; then
 
703
    break;
 
704
  fi
 
705
 
 
706
  if [ -z "$MultipleInstall" ] ; then
 
707
    break;
 
708
  fi
 
709
 
 
710
  NumConfigs=`expr $NumConfigs - 1`
 
711
 
 
712
done
 
713
 
 
714
echo " "
 
715
exit 0
 
716
 
 
717