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