~derek-name/openvista-gtm-integration/bug887649

« back to all changes in this revision

Viewing changes to packages/deb/Ubuntu/9.10/fis-gtm-5.3004a/debian/patches/99-noninteractive-configure.patch

  • Committer: Derek Veit
  • Date: 2011-09-29 23:55:44 UTC
  • mfrom: (149.1.6 bug834215)
  • Revision ID: derek.veit@medsphere.com-20110929235544-qqib8ojo7tlvcph0
Merge bug 834215 - Add support for Ubuntu 11.04 "Natty Narwhal".

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- configure.orig      2009-08-13 15:54:09.000000000 -0700
2
 
+++ configure   2009-08-13 15:59:38.000000000 -0700
3
 
@@ -123,7 +123,7 @@
4
 
 # create temporary file to test for valid user and group names
5
 
 touch tmp_owngrp
6
 
 $echo "What account should own the files? ($defowner) \c"
7
 
-read resp
8
 
+resp=""
9
 
 if [ "$resp" = "" ] ; then
10
 
        owner=$defowner
11
 
 else
12
 
@@ -137,10 +137,10 @@
13
 
 fi
14
 
 
15
 
 $echo "Should execution of GT.M be restricted to a group? (y or n) \c"
16
 
-read resp
17
 
+resp="y"
18
 
 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
19
 
        $echo "Enter group name: \c"
20
 
-       read group
21
 
+       group="bin"
22
 
        if [ "$group" != "" ] ; then
23
 
                chgrp $group tmp_owngrp 2> /dev/null
24
 
                if [ 1 = "$?" ] ; then
25
 
@@ -156,7 +156,7 @@
26
 
 rm tmp_owngrp
27
 
 
28
 
 $echo "In what directory should GT.M be installed? \c"
29
 
-read gtmdist
30
 
+gtmdist="@GTM_DIST@"
31
 
 
32
 
 # if gtmdist is relative then need to make it absolute
33
 
 
34
 
@@ -182,7 +182,7 @@
35
 
        $echo "Directory $gtmdist does not exist. Do you wish to create it as part of"
36
 
        $echo "this installation? (y or n) \c"
37
 
 
38
 
-       read resp
39
 
+       resp="y"
40
 
        if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
41
 
                mkdir -p $gtmdist
42
 
                chmod 0755 $gtmdist
43
 
@@ -226,14 +226,14 @@
44
 
                library_path="/usr/local/lib32 /usr/local/lib /usr/lib32 /usr/lib /lib32 /lib"
45
 
        fi
46
 
        $echo "Should unicode support be installed? (y or n) \c"
47
 
-       read resp
48
 
+       resp="y"
49
 
        if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
50
 
                would_like_utf8=1
51
 
                $echo "Should an ICU version other than the default be used? (y or n) \c"
52
 
-               read resp
53
 
+               resp="y"
54
 
                if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
55
 
                        $echo "Enter ICU version (at least ICU version 3.6 is required. Enter as <minor-ver>.<major-ver>): \c"
56
 
-                       read gtm_icu_version
57
 
+                       gtm_icu_version="@GTM_ICU_VERSION@"
58
 
                        icu_ver=`$echo $gtm_icu_version | sed 's/\.//'`
59
 
                        majmin=`$echo $icu_ver | cut -f 1 -d "."`
60
 
                        if [ "$majmin" -lt "36" ] ; then
61
 
@@ -600,7 +600,7 @@
62
 
 $echo "only the uppercase versions of the files."
63
 
 $echo ""
64
 
 $echo "Do you want uppercase and lowercase versions of the MUMPS routines? (y or n)\c"
65
 
-read resp
66
 
+resp="n"
67
 
 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
68
 
        $echo ""
69
 
        $echo "Creating lowercase versions of the MUMPS routines."
70
 
@@ -817,7 +817,7 @@
71
 
 $echo ""
72
 
 $echo "Installation completed. Would you like all the temporary files"
73
 
 $echo "removed from this directory? (y or n) \c"
74
 
-read resp
75
 
+resp="n"
76
 
 
77
 
 if [ "$resp" = "Y" -o "$resp" = "y" ] ; then
78
 
        \rm -rf $binaries $pathmods $rscripts $nscripts $dirs configure \