Lines 1-5
Link Here
|
1 |
--- unix/setup.py.in.orig Fri Sep 14 03:34:24 2001 |
1 |
--- unix/setup.py.in.orig Sat Oct 27 21:53:35 2001 |
2 |
+++ unix/setup.py.in Fri Oct 5 23:57:20 2001 |
2 |
+++ unix/setup.py.in Sun Sep 15 00:07:50 2002 |
3 |
@@ -14,8 +14,9 @@ |
3 |
@@ -14,8 +14,9 @@ |
4 |
|
4 |
|
5 |
VERSION="@VERSION@" |
5 |
VERSION="@VERSION@" |
Lines 11-32
Link Here
|
11 |
+PILOTXFER=os.path.join("@prefix@", "bin", "pilot-xfer") |
11 |
+PILOTXFER=os.path.join("@prefix@", "bin", "pilot-xfer") |
12 |
|
12 |
|
13 |
if os.environ.has_key ('HOME'): |
13 |
if os.environ.has_key ('HOME'): |
14 |
USERDIR = os.environ["HOME"] |
14 |
USERDIR = os.environ["HOME"] |
15 |
@@ -99,7 +100,7 @@ |
15 |
@@ -117,7 +118,7 @@ |
16 |
if get_answer("Install the User's Guide, too", 'y'): |
16 |
if get_answer("Install the User's Guide, too", 'y'): |
17 |
guide = os.path.join(PALMDIR, "PluckerUserGuide.pdb") |
17 |
guide = os.path.join(PALMDIR, "PluckerUserGuide.pdb") |
18 |
|
18 |
|
19 |
- os.system("pilot-xfer -i %s %s %s" % (viewer, zlib, guide)) |
19 |
- os.system("pilot-xfer -i %s %s %s" % (viewer, zlib, guide)) |
20 |
+ os.system(PILOTXFER + " -i %s %s %s" % (viewer, zlib, guide)) |
20 |
+ os.system(PILOTXFER + " -i %s %s %s" % (viewer, zlib, guide)) |
21 |
|
21 |
|
22 |
|
22 |
|
23 |
# |
23 |
# |
24 |
@@ -131,7 +132,7 @@ |
24 |
@@ -149,7 +150,7 @@ |
25 |
|
25 |
|
26 |
install_config_files() |
26 |
install_config_files() |
27 |
|
27 |
|
28 |
-if not os.system('pilot-xfer > /dev/null 2>&1'): |
28 |
-if not os.system('pilot-xfer > /dev/null 2>&1'): |
29 |
+if not os.system(PILOTXFER + ' > /dev/null 2>&1'): |
29 |
+if not os.system(PILOTXFER + ' > /dev/null 2>&1'): |
30 |
install_viewer() |
30 |
install_viewer() |
31 |
else: |
31 |
else: |
32 |
print "\nThe program 'pilot-xfer' is missing so the Palm applications cannot be installed. You'll find them in %s." % PALMDIR |
32 |
print "\nThe program 'pilot-xfer' is missing so the Palm applications cannot be installed. You'll find them in %s." % PALMDIR |