author | ca |
Fri, 07 Nov 1997 14:30:55 +0100 | |
changeset 378 | 9057ea063eca |
parent 277 | 935f9a055594 |
child 678 | 4dd439ebf162 |
permissions | -rw-r--r-- |
0 | 1 |
Object subclass:#STXInstaller |
24 | 2 |
instanceVariableNames:'stxLibDir stxLibBinDir stxBinDir installDocFiles |
3 |
installSourceFiles installSTCFiles installGoodyFiles |
|
4 |
actionPercentageHolder actionTextHolder commandTraceView |
|
5 |
resources' |
|
6 |
classVariableNames:'LastBinDir LastLibBinDir LastLibDir' |
|
0 | 7 |
poolDictionaries:'' |
8 |
category:'eXept-tools' |
|
9 |
! |
|
10 |
||
11 |
||
28 | 12 |
!STXInstaller class methodsFor:'startup'! |
0 | 13 |
|
14 |
open |
|
15 |
^ self new open |
|
16 |
||
11 | 17 |
" |
18 |
STXInstaller open |
|
19 |
" |
|
1 | 20 |
! ! |
21 |
||
22 |
!STXInstaller methodsFor:'defaults'! |
|
23 |
||
24 |
defaultBinDirs |
|
25 |
|dirs| |
|
26 |
||
27 |
dirs := OrderedCollection new. |
|
28 |
dirs add:'/usr/local/bin'. |
|
29 |
dirs add:'/usr/bin'. |
|
30 |
dirs add:(Filename homeDirectory constructString:'bin'). |
|
14 | 31 |
dirs add:((Filename homeDirectory |
32 |
construct:'stx') |
|
33 |
constructString:'bin'). |
|
1 | 34 |
dirs add:'/tmp/stxbin'. |
3 | 35 |
('/home' asFilename exists and:['/home' asFilename isDirectory]) ifTrue:[ |
36 |
dirs add:'/home/stx/bin'. |
|
37 |
]. |
|
38 |
('/home2' asFilename exists and:['/home2' asFilename isDirectory]) ifTrue:[ |
|
39 |
dirs add:'/home2/stx/bin'. |
|
40 |
]. |
|
41 |
||
42 |
"/ dirs := dirs select:[:path | |
|
43 |
"/ |f| |
|
44 |
"/ |
|
45 |
"/ f := path asFilename. |
|
46 |
"/ f exists and:[f isDirectory]]. |
|
47 |
^ dirs sort |
|
1 | 48 |
|
49 |
"Created: 18.7.1996 / 19:43:00 / cg" |
|
50 |
"Modified: 18.7.1996 / 19:45:08 / cg" |
|
51 |
! |
|
52 |
||
24 | 53 |
defaultLibBinDirs |
54 |
|dirs| |
|
55 |
||
56 |
dirs := OrderedCollection new. |
|
57 |
dirs add:'/usr/local/lib'. |
|
58 |
dirs add:'/usr/lib'. |
|
59 |
dirs add:'/lib'. |
|
60 |
dirs add:(Filename homeDirectory |
|
61 |
constructString:'lib'). |
|
62 |
||
63 |
dirs add:((Filename homeDirectory |
|
64 |
construct:'stx') |
|
65 |
constructString:'lib'). |
|
66 |
dirs add:'/tmp/stxlib'. |
|
67 |
dirs add:'/home/stx/lib'. |
|
68 |
dirs add:'/home2/stx/lib'. |
|
69 |
||
70 |
^ dirs sort |
|
71 |
||
72 |
"Created: 18.7.1996 / 19:43:21 / cg" |
|
73 |
"Modified: 18.7.1996 / 19:46:04 / cg" |
|
74 |
! |
|
75 |
||
1 | 76 |
defaultLibDirs |
77 |
|dirs| |
|
78 |
||
79 |
dirs := OrderedCollection new. |
|
80 |
dirs add:'/usr/local/lib/smalltalk'. |
|
81 |
dirs add:'/usr/lib/smalltalk'. |
|
82 |
dirs add:((Filename homeDirectory |
|
83 |
construct:'lib') |
|
84 |
constructString:'smalltalk'). |
|
15 | 85 |
dirs add:((Filename homeDirectory |
86 |
construct:'stx') |
|
87 |
constructString:'lib'). |
|
1 | 88 |
dirs add:'/tmp/stxlib'. |
89 |
dirs add:'/home/stx/lib'. |
|
90 |
dirs add:'/home2/stx/lib'. |
|
3 | 91 |
|
92 |
"/ dirs := dirs select:[:path | |
|
93 |
"/ |f| |
|
94 |
"/ |
|
95 |
"/ f := path asFilename. |
|
96 |
"/ f exists and:[f isDirectory]]. |
|
97 |
^ dirs sort |
|
1 | 98 |
|
99 |
"Created: 18.7.1996 / 19:43:21 / cg" |
|
100 |
"Modified: 18.7.1996 / 19:46:04 / cg" |
|
11 | 101 |
! |
0 | 102 |
|
11 | 103 |
directoriesToMake |
104 |
|dirsToMake| |
|
0 | 105 |
|
11 | 106 |
dirsToMake := OrderedCollection new. |
107 |
dirsToMake add:stxBinDir. |
|
108 |
dirsToMake add:stxLibDir. |
|
24 | 109 |
dirsToMake add:stxLibBinDir. |
110 |
dirsToMake add:(stxLibDir asFilename constructString:'configurations'). |
|
11 | 111 |
dirsToMake add:(stxLibDir asFilename constructString:'doc'). |
12
6cb00d713d4d
LICENSE texts must always be installed
Claus Gittinger <cg@exept.de>
parents:
11
diff
changeset
|
112 |
dirsToMake add:(stxLibDir asFilename constructString:'doc/online'). |
6cb00d713d4d
LICENSE texts must always be installed
Claus Gittinger <cg@exept.de>
parents:
11
diff
changeset
|
113 |
dirsToMake add:(stxLibDir asFilename constructString:'doc/online/english'). |
6cb00d713d4d
LICENSE texts must always be installed
Claus Gittinger <cg@exept.de>
parents:
11
diff
changeset
|
114 |
dirsToMake add:(stxLibDir asFilename constructString:'doc/online/german'). |
19 | 115 |
dirsToMake add:(stxLibDir asFilename constructString:'doc/online/french'). |
116 |
dirsToMake add:(stxLibDir asFilename constructString:'doc/online/italian'). |
|
11 | 117 |
dirsToMake add:(stxLibDir asFilename constructString:'include'). |
118 |
dirsToMake add:(stxLibDir asFilename constructString:'resources'). |
|
119 |
dirsToMake add:(stxLibDir asFilename constructString:'binary'). |
|
120 |
dirsToMake add:(stxLibDir asFilename constructString:'bitmaps'). |
|
121 |
dirsToMake add:(stxLibDir asFilename constructString:'goodies'). |
|
0 | 122 |
|
11 | 123 |
^ dirsToMake |
124 |
! |
|
125 |
||
73 | 126 |
listOfOptionalPackages |
127 |
^ #( |
|
128 |
'libDB' |
|
129 |
'clients/CBrowser' |
|
130 |
'libcompat' |
|
131 |
'libxt' |
|
132 |
||
133 |
||
134 |
"/ mhmh - these should not be needed here ... |
|
135 |
||
136 |
'projects/smalltalk/bitmaps/javaImages' |
|
137 |
'doc/online/english/overview/icons' |
|
138 |
) |
|
139 |
||
140 |
"Created: 2.3.1997 / 12:39:59 / cg" |
|
141 |
"Modified: 2.3.1997 / 13:24:41 / cg" |
|
142 |
! |
|
143 |
||
11 | 144 |
specOfFilesToCopy |
145 |
|fileSpec| |
|
0 | 146 |
|
147 |
fileSpec := #( |
|
27 | 148 |
"/ name destination subDir required mode |
12
6cb00d713d4d
LICENSE texts must always be installed
Claus Gittinger <cg@exept.de>
parents:
11
diff
changeset
|
149 |
( 'projects/smalltalk/smalltalk' #bin nil true '755' ) |
27 | 150 |
( 'projects/smalltalk/stx' #bin nil true '755' ) |
12
6cb00d713d4d
LICENSE texts must always be installed
Claus Gittinger <cg@exept.de>
parents:
11
diff
changeset
|
151 |
( 'projects/smalltalk/include' #lib nil true '644' ) |
277 | 152 |
( 'COPYRIGHT' #lib nil true '644' ) |
12
6cb00d713d4d
LICENSE texts must always be installed
Claus Gittinger <cg@exept.de>
parents:
11
diff
changeset
|
153 |
( 'projects/smalltalk/*.rc' #lib nil true '644' ) |
6cb00d713d4d
LICENSE texts must always be installed
Claus Gittinger <cg@exept.de>
parents:
11
diff
changeset
|
154 |
( 'projects/smalltalk/patches' #lib nil true '644' ) |
6cb00d713d4d
LICENSE texts must always be installed
Claus Gittinger <cg@exept.de>
parents:
11
diff
changeset
|
155 |
( 'projects/smalltalk/bitmaps' #lib nil true '644' ) |
6cb00d713d4d
LICENSE texts must always be installed
Claus Gittinger <cg@exept.de>
parents:
11
diff
changeset
|
156 |
( 'projects/smalltalk/resources' #lib nil true '644' ) |
6cb00d713d4d
LICENSE texts must always be installed
Claus Gittinger <cg@exept.de>
parents:
11
diff
changeset
|
157 |
( 'projects/smalltalk/lib' #lib nil true '644' ) |
16 | 158 |
( 'doc/online/german/LICENCE.STX.html' #lib 'doc/online/german' true '644' ) |
277 | 159 |
( 'doc/online/english/LICENCE.STX.html' #lib 'doc/online/english' true '644' ) |
5 | 160 |
). |
0 | 161 |
|
5 | 162 |
installDocFiles ifTrue:[ |
163 |
fileSpec := fileSpec , #( |
|
24 | 164 |
( 'doc' #lib nil false '644' ) |
5 | 165 |
). |
166 |
]. |
|
167 |
||
9 | 168 |
installSourceFiles ifTrue:[ |
169 |
fileSpec := fileSpec , #( |
|
24 | 170 |
( 'projects/smalltalk/source' #lib nil false '644' ) |
9 | 171 |
). |
172 |
]. |
|
173 |
||
5 | 174 |
installSTCFiles ifTrue:[ |
175 |
fileSpec := fileSpec , #( |
|
24 | 176 |
( 'stc/stc' #bin nil false '755' ) |
177 |
( 'rules/stmkmp' #bin nil false '755' ) |
|
178 |
( 'rules/stmkmf' #bin nil false '755' ) |
|
179 |
( 'include' #lib nil false '644' ) |
|
180 |
( 'configurations' #lib nil false '644' ) |
|
181 |
( 'configurations/PACKS' #lib 'configurations' false '644' ) |
|
182 |
( 'configurations/my*' #lib 'configurations' false '644' ) |
|
183 |
( 'configurations/vendor*' #lib 'configurations' false '644' ) |
|
184 |
( 'rules' #lib nil false '644' ) |
|
5 | 185 |
|
276 | 186 |
( 'support/VGL/vogl/src/libvogl.*' #lib 'lib' false '644' ) |
187 |
( 'support/VGL/vogl/src/*.h' #lib 'include' false '644' ) |
|
188 |
( 'support/DLD/dld-3.2.5/libdld.*' #lib 'lib' false '644' ) |
|
189 |
||
190 |
( 'goodies/persistency/db-1.6/PORT/libdb.*' #lib 'lib' false '644' ) |
|
0 | 191 |
|
276 | 192 |
( 'librun/librun.*' #libBin nil false '644' ) |
193 |
( 'libbasic/libbasic.*' #libBin nil false '644' ) |
|
194 |
( 'libbasic2/libbasic2.*' #libBin nil false '644' ) |
|
195 |
( 'libbasic3/libbasic3.*' #libBin nil false '644' ) |
|
196 |
( 'libhtml/libhtml.*' #libBin nil false '644' ) |
|
197 |
( 'libcomp/libcomp.*' #libBin nil false '644' ) |
|
198 |
( 'libcomp/ObjFL*.o' #libBin nil false '644' ) |
|
199 |
( 'libcomp/ObjFL*.obj' #libBin nil false '644' ) |
|
200 |
( 'libcomp/ObjFL*.so' #libBin nil false '644' ) |
|
201 |
( 'libview/libview.*' #libBin nil false '644' ) |
|
202 |
( 'libview/GLX*.o' #libBin nil false '644' ) |
|
203 |
( 'libview/GLX*.obj' #libBin nil false '644' ) |
|
204 |
( 'libview/GLX*.so' #libBin nil false '644' ) |
|
205 |
( 'libview/XW*.o' #libBin nil false '644' ) |
|
206 |
( 'libview/XW*.obj' #libBin nil false '644' ) |
|
207 |
( 'libview/XW*.so' #libBin nil false '644' ) |
|
208 |
( 'libview2/libview2.*' #libBin nil false '644' ) |
|
209 |
( 'libwidg/libwidg.*' #libBin nil false '644' ) |
|
210 |
( 'libwidg2/libwidg2.*' #libBin nil false '644' ) |
|
211 |
( 'libwidg3/libwidg3.*' #libBin nil false '644' ) |
|
212 |
( 'libui/libui.*' #libBin nil false '644' ) |
|
213 |
||
27 | 214 |
"/ ( 'libsnmp/libsnmp.*' #libBin nil false '644' ) |
215 |
"/ ( 'contrib/libPVM/libPVM.*' #libBin nil false '644' ) |
|
24 | 216 |
( 'goodies/persistency/libdbase.*' #libBin nil false '644' ) |
27 | 217 |
"/ ( 'libtable/libtable.*' #libBin nil false '644' ) |
24 | 218 |
( 'libtool/libtool.*' #libBin nil false '644' ) |
214
e5aaf5e3bbf9
also install libtool2 & libui
Claus Gittinger <cg@exept.de>
parents:
117
diff
changeset
|
219 |
( 'libtool2/libtool2.*' #libBin nil false '644' ) |
27 | 220 |
"/ ( 'libxt/libxt.*' #libBin nil false '644' ) |
221 |
"/ ( 'librt/librt.*' #libBin nil false '644' ) |
|
5 | 222 |
). |
223 |
]. |
|
0 | 224 |
|
5 | 225 |
installGoodyFiles ifTrue:[ |
226 |
fileSpec := fileSpec , #( |
|
227 |
( 'goodies/*.st' #lib 'goodies' false '644' ) |
|
228 |
( 'goodies/*.chg' #lib 'goodies' false '644' ) |
|
229 |
( 'goodies/rdoit/rdoit' #bin nil false '755' ) |
|
236 | 230 |
( 'goodies/bitmaps/rdoit' #lib 'goodies/bitmaps' false '755' ) |
5 | 231 |
). |
232 |
]. |
|
0 | 233 |
|
11 | 234 |
|
235 |
^ fileSpec |
|
236 |
||
277 | 237 |
"Modified: 8.8.1997 / 18:39:06 / cg" |
11 | 238 |
! ! |
239 |
||
240 |
!STXInstaller methodsFor:'installing'! |
|
241 |
||
242 |
copyFiles |
|
243 |
|msg fileSpec filesToCopy numFiles nDone| |
|
244 |
||
245 |
msg := (resources array:#('ST/X Installation' '' 'copying:' '' 'to:' '')) asStringCollection. |
|
246 |
||
247 |
fileSpec := self specOfFilesToCopy. |
|
248 |
||
0 | 249 |
filesToCopy := OrderedCollection new. |
250 |
||
251 |
fileSpec do:[:entry | |
|
8 | 252 |
|fileNames dest subDir required destDir| |
0 | 253 |
|
8 | 254 |
fileNames := entry at:1. |
0 | 255 |
dest := entry at:2. |
256 |
subDir := entry at:3. |
|
257 |
required := entry at:4. |
|
258 |
||
259 |
dest == #bin ifTrue:[ |
|
260 |
destDir := stxBinDir |
|
261 |
] ifFalse:[ |
|
24 | 262 |
dest == #libBin ifTrue:[ |
263 |
destDir := stxLibBinDir |
|
264 |
] ifFalse:[ |
|
265 |
destDir := stxLibDir |
|
266 |
] |
|
0 | 267 |
]. |
268 |
||
269 |
destDir := destDir asFilename. |
|
270 |
subDir notNil ifTrue:[ |
|
271 |
destDir := destDir construct:subDir |
|
272 |
]. |
|
273 |
||
8 | 274 |
filesToCopy add:(fileNames -> destDir pathName) |
0 | 275 |
]. |
276 |
||
277 |
numFiles := filesToCopy size. |
|
278 |
nDone := 0. |
|
279 |
||
280 |
filesToCopy do:[:entry | |
|
11 | 281 |
|fileName destDir cmd p text line doneSemaphore| |
0 | 282 |
|
283 |
fileName := entry key. |
|
284 |
destDir := entry value. |
|
285 |
||
8 | 286 |
((fileName includes:$*) |
287 |
or:[('../../' , fileName) asFilename exists])ifTrue:[ |
|
4
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
288 |
actionPercentageHolder value:(nDone / numFiles * 100) rounded. |
0 | 289 |
|
4
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
290 |
msg at:4 put:' ' , (fileName asText allBold). |
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
291 |
msg at:6 put:' ' , (destDir asText allBold). |
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
292 |
actionTextHolder value:nil. |
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
293 |
actionTextHolder value:msg. |
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
294 |
|
73 | 295 |
((fileName includes:$*) not |
296 |
and:[('../../' , fileName) asFilename exists not]) ifTrue:[ |
|
297 |
(self listOfOptionalPackages includes:fileName) ifFalse:[ |
|
117 | 298 |
commandTraceView showCR:('cannot copy ' , fileName , ' - not included in distribution'). |
299 |
commandTraceView endEntry. |
|
73 | 300 |
] |
301 |
] ifFalse:[ |
|
302 |
cmd := 'cp -r ../../' , fileName , ' ' , destDir. |
|
303 |
commandTraceView showCR:cmd , ' ...'. |
|
117 | 304 |
commandTraceView endEntry. |
73 | 305 |
cmd := cmd , ' 2>&1' . |
1 | 306 |
|
73 | 307 |
doneSemaphore := Semaphore new. |
11 | 308 |
|
73 | 309 |
[ |
11 | 310 |
|
73 | 311 |
p := PipeStream readingFrom:cmd. |
312 |
p isNil ifTrue:[ |
|
313 |
self warn:('command error. Could not execute:\\' , cmd) withCRs. |
|
314 |
] ifFalse:[ |
|
315 |
[p atEnd] whileFalse:[ |
|
316 |
(p readWaitWithTimeout:0.1) ifFalse:[ |
|
317 |
line := p nextLine. |
|
318 |
(line notNil and:[line notEmpty]) ifTrue:[ |
|
319 |
commandTraceView showCR:((' ' , line) asText emphasizeAllWith:(#color->Color red)). |
|
117 | 320 |
commandTraceView endEntry. |
73 | 321 |
] |
30 | 322 |
] |
73 | 323 |
]. |
324 |
p close. |
|
11 | 325 |
]. |
73 | 326 |
doneSemaphore signal. |
327 |
] forkAt:4. |
|
11 | 328 |
|
73 | 329 |
doneSemaphore wait. |
330 |
] |
|
1 | 331 |
]. |
0 | 332 |
|
333 |
nDone := nDone + 1 |
|
334 |
]. |
|
335 |
||
336 |
^ true |
|
337 |
||
338 |
"Created: 17.7.1996 / 15:16:20 / cg" |
|
117 | 339 |
"Modified: 22.5.1997 / 15:06:33 / cg" |
0 | 340 |
! |
341 |
||
342 |
createDirectories |
|
343 |
|msg dirsToMake numDirs nDone| |
|
344 |
||
11 | 345 |
msg := (resources array:#('ST/X Installation' '' 'creating directory:' '' '' '')) asStringCollection. |
0 | 346 |
|
11 | 347 |
dirsToMake := self directoriesToMake. |
0 | 348 |
|
349 |
numDirs := dirsToMake size. |
|
350 |
nDone := 0. |
|
351 |
||
352 |
dirsToMake do:[:dirName | |
|
353 |
|d errMsg stop box| |
|
354 |
||
355 |
actionPercentageHolder value:(nDone / numDirs * 100) rounded. |
|
356 |
||
4
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
357 |
msg at:4 put:' ' , (dirName asText allBold). |
0 | 358 |
actionTextHolder value:nil. |
359 |
actionTextHolder value:msg. |
|
360 |
||
361 |
d := dirName asFilename. |
|
362 |
||
11 | 363 |
commandTraceView showCR:(resources string:'creating %1 ...' with:d pathName). |
117 | 364 |
commandTraceView endEntry. |
4
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
365 |
|
0 | 366 |
d exists ifFalse:[ |
367 |
OperatingSystem recursiveCreateDirectory:d pathName |
|
368 |
]. |
|
369 |
||
370 |
d exists ifFalse:[ |
|
11 | 371 |
errMsg := resources string:'failed to create directory: %1' with: dirName. |
0 | 372 |
stop := true |
373 |
] ifTrue:[ |
|
374 |
d isDirectory ifFalse:[ |
|
11 | 375 |
errMsg := resources string:'not a directory: %1' with:dirName. |
0 | 376 |
stop := true |
377 |
] ifTrue:[ |
|
378 |
(d isReadable |
|
379 |
and:[d isWritable]) ifFalse:[ |
|
11 | 380 |
errMsg := resources string:'no read/write access to directory: %1' with:dirName. |
0 | 381 |
stop := false |
382 |
] ifTrue:[ |
|
383 |
errMsg := nil |
|
384 |
] |
|
385 |
] |
|
386 |
]. |
|
387 |
||
388 |
errMsg notNil ifTrue:[ |
|
389 |
box := WarningBox new. |
|
390 |
box title:errMsg. |
|
391 |
box showAtPointerNotCovering:(WindowGroup activeGroup topViews first). |
|
1 | 392 |
stop ifTrue:[^ false]. |
0 | 393 |
]. |
394 |
||
395 |
Delay waitForSeconds:0.25. |
|
396 |
nDone := nDone + 1. |
|
397 |
]. |
|
398 |
^ true |
|
399 |
||
400 |
"Created: 17.7.1996 / 15:24:19 / cg" |
|
117 | 401 |
"Modified: 22.5.1997 / 15:06:41 / cg" |
19 | 402 |
! |
403 |
||
404 |
createSymbolicLinks |
|
405 |
|msg dirsToMake numDirs nDone| |
|
406 |
||
407 |
msg := (resources array:#('ST/X Installation' '' 'creating symbolic links' '' '' '')) asStringCollection. |
|
408 |
||
28 | 409 |
commandTraceView showCR:(resources string:'setting up symbolic links in doc/online ...'). |
117 | 410 |
commandTraceView endEntry. |
29 | 411 |
OperatingSystem executeCommand:('(cd ' , stxLibDir , '/doc/online ; make links)'). |
19 | 412 |
^ true |
413 |
||
414 |
"Created: 17.7.1996 / 15:24:19 / cg" |
|
117 | 415 |
"Modified: 22.5.1997 / 15:06:48 / cg" |
73 | 416 |
! |
417 |
||
418 |
outputInitialMessage |
|
419 |
#( |
|
420 |
'Notice:' |
|
421 |
'' |
|
422 |
'During the installation, you may get error messages' |
|
423 |
'complaining that some files where not found' |
|
424 |
'and could therefore not be copied.' |
|
425 |
) do:[:line | |
|
426 |
commandTraceView showCR:((resources string:line) asText emphasizeAllWith:(#color->Color blue)). |
|
427 |
commandTraceView endEntry. |
|
428 |
]. |
|
429 |
||
430 |
Delay waitForSeconds:2. |
|
431 |
||
432 |
#( |
|
433 |
'' |
|
434 |
'This is normal behavior; since the CD may contain' |
|
435 |
'broken symbolic links to non-existing packages' |
|
436 |
'which are either not contained on your ordered' |
|
276 | 437 |
'package (i.e. non-commercial) or are not required' |
438 |
'for your architecture (and therefore not contained' |
|
439 |
'on the CD).' |
|
440 |
'' |
|
73 | 441 |
) do:[:line | |
442 |
commandTraceView showCR:((resources string:line) asText emphasizeAllWith:(#color->Color blue)). |
|
443 |
commandTraceView endEntry. |
|
444 |
]. |
|
445 |
||
446 |
Delay waitForSeconds:2. |
|
447 |
||
448 |
#( |
|
449 |
'' |
|
450 |
'Please excuse this inconvenience.' |
|
451 |
'' |
|
452 |
) do:[:line | |
|
453 |
commandTraceView showCR:((resources string:line) asText emphasizeAllWith:(#color->Color blue)). |
|
454 |
commandTraceView endEntry. |
|
455 |
]. |
|
456 |
||
457 |
Delay waitForSeconds:2. |
|
458 |
||
459 |
"Created: 2.3.1997 / 12:49:52 / cg" |
|
276 | 460 |
"Modified: 8.8.1997 / 17:47:06 / cg" |
0 | 461 |
! ! |
462 |
||
463 |
!STXInstaller methodsFor:'startup'! |
|
464 |
||
465 |
askAndInstall |
|
466 |
"/ check, if we are in the projects/smalltalk directory |
|
467 |
||
11 | 468 |
resources := ResourcePack for:self class. |
469 |
||
0 | 470 |
(Filename currentDirectory pathName endsWith:'projects/smalltalk') ifFalse:[ |
11 | 471 |
self warn:(resources string:'must be in the ''projects/smalltalk'' directory'). |
0 | 472 |
^ self |
473 |
]. |
|
474 |
||
475 |
[self askForDestination] whileTrue:[ |
|
73 | 476 |
self checkForExistingInstallationAndConfirm ifTrue:[ |
477 |
self preInstall. |
|
478 |
self doInstall ifTrue:[ |
|
479 |
self postInstall. |
|
480 |
^ self |
|
481 |
]. |
|
482 |
(self confirm:(resources string:'installation failed or aborted - retry ?')) |
|
483 |
ifFalse:[ |
|
484 |
^ self |
|
485 |
] |
|
0 | 486 |
] |
487 |
]. |
|
488 |
||
73 | 489 |
"Modified: 2.3.1997 / 13:46:23 / cg" |
0 | 490 |
! |
491 |
||
492 |
askForDestination |
|
493 |
"open a dialog to enter destination directories" |
|
494 |
||
2 | 495 |
|d cm l green dark img |
24 | 496 |
stxLibDirHolder stxLibBinDirHolder stxBinDirHolder |
5 | 497 |
installDocHolder installSourceHolder installSTCHolder installGoodiesHolder |
73 | 498 |
binMegabytes libMegabytes docMegabytes stcMegabytes srcMegabytes |
0 | 499 |
| |
500 |
||
11 | 501 |
binMegabytes := 10. |
73 | 502 |
libMegabytes := 30. |
503 |
docMegabytes := 11. |
|
504 |
stcMegabytes := 1. |
|
505 |
srcMegabytes := 15. |
|
11 | 506 |
|
0 | 507 |
LastLibDir isNil ifTrue:[ |
508 |
LastLibDir := '/usr/local/lib/smalltalk' |
|
509 |
]. |
|
24 | 510 |
LastLibBinDir isNil ifTrue:[ |
511 |
LastLibBinDir := '/usr/local/lib' |
|
512 |
]. |
|
0 | 513 |
LastBinDir isNil ifTrue:[ |
514 |
LastBinDir := '/usr/local/bin' |
|
515 |
]. |
|
516 |
||
517 |
stxLibDirHolder := LastLibDir asValue. |
|
24 | 518 |
stxLibBinDirHolder := LastLibBinDir asValue. |
0 | 519 |
stxBinDirHolder := LastBinDir asValue. |
24 | 520 |
|
5 | 521 |
installDocHolder := true asValue. |
522 |
installSourceHolder := true asValue. |
|
523 |
installSTCHolder := true asValue. |
|
524 |
installGoodiesHolder := true asValue. |
|
0 | 525 |
|
526 |
Screen current hasColors ifTrue:[ |
|
527 |
green := (Color red:0 green:80 blue:20) "darkened". |
|
528 |
dark := Color grey:10. |
|
529 |
] ifFalse:[ |
|
530 |
green := Color white. |
|
531 |
dark := Color black. |
|
532 |
]. |
|
533 |
||
534 |
d := DialogBox new. |
|
535 |
||
11 | 536 |
d label:(resources string:'ST/X CD Installation'). |
2 | 537 |
img := Image fromFile:'SmalltalkX.xbm'. |
538 |
||
539 |
l := d addTextLabel:img. |
|
540 |
l adjust:#left; foregroundColor:green backgroundColor:dark. |
|
541 |
||
11 | 542 |
l := d addTextLabel:(resources string:'Smalltalk/X CD installation.'). |
0 | 543 |
l adjust:#left; backgroundColor:dark; foregroundColor:Color white. |
544 |
d addVerticalSpace. |
|
545 |
d addVerticalSpace. |
|
546 |
||
547 |
d addHorizontalLine. |
|
548 |
||
11 | 549 |
l := d addTextLabel:(resources string:'Destination directories:'). |
0 | 550 |
l adjust:#left; backgroundColor:dark; foregroundColor:Color white. |
551 |
||
552 |
cm := ComboBoxView on:stxBinDirHolder. |
|
1 | 553 |
cm list:self defaultBinDirs. |
0 | 554 |
d |
555 |
addLabelledField:cm |
|
11 | 556 |
label:(resources string:'binaries') |
0 | 557 |
adjust:#left |
558 |
tabable:true |
|
559 |
from:0.0 to:1.0 separateAtX:0.25 |
|
560 |
nameAs:'binaryBox'. |
|
561 |
||
562 |
(d componentAt:'binaryBox.label') backgroundColor:dark; foregroundColor:Color white. |
|
563 |
||
24 | 564 |
cm := ComboBoxView on:stxLibBinDirHolder. |
565 |
cm list:self defaultLibBinDirs. |
|
566 |
d |
|
567 |
addLabelledField:cm |
|
568 |
label:(resources string:'libraries') |
|
569 |
adjust:#left |
|
570 |
tabable:true |
|
571 |
from:0.0 to:1.0 separateAtX:0.25 |
|
572 |
nameAs:'libraryBinBox'. |
|
573 |
||
574 |
(d componentAt:'libraryBinBox.label') backgroundColor:dark; foregroundColor:Color white. |
|
575 |
||
0 | 576 |
cm := ComboBoxView on:stxLibDirHolder. |
1 | 577 |
cm list:self defaultLibDirs. |
0 | 578 |
d |
579 |
addLabelledField:cm |
|
117 | 580 |
label:(resources string:'other files') |
0 | 581 |
adjust:#left |
582 |
tabable:true |
|
583 |
from:0.0 to:1.0 separateAtX:0.25 |
|
584 |
nameAs:'libraryBox'. |
|
585 |
||
586 |
(d componentAt:'libraryBox.label') backgroundColor:dark; foregroundColor:Color white. |
|
587 |
||
5 | 588 |
d addVerticalSpace. |
589 |
d addHorizontalLine. |
|
590 |
d addVerticalSpace. |
|
591 |
||
11 | 592 |
(d addTextLabel:(resources string:'required:')) |
5 | 593 |
adjust:#left; foregroundColor:Color white backgroundColor:dark. |
594 |
||
595 |
d leftIndent:35. |
|
11 | 596 |
(d addTextLabel:(resources string:'binaries (approx. %1 Mb)' with:binMegabytes printString)) |
5 | 597 |
adjust:#left; foregroundColor:Color white backgroundColor:dark. |
11 | 598 |
(d addTextLabel:(resources string:'libraries (approx. %1 Mb)' with:libMegabytes printString)) |
5 | 599 |
adjust:#left; foregroundColor:Color white backgroundColor:dark. |
600 |
d leftIndent:0. |
|
601 |
||
602 |
d addVerticalSpace. |
|
603 |
d addHorizontalLine. |
|
604 |
d addVerticalSpace. |
|
605 |
||
11 | 606 |
(d addTextLabel:(resources string:'optional:')) |
5 | 607 |
adjust:#left; foregroundColor:Color white backgroundColor:dark. |
608 |
||
73 | 609 |
(d addCheckBox:((resources string:'doc files (+%1 Mb)' with:docMegabytes)) on:installDocHolder) |
5 | 610 |
labelView foregroundColor:Color white backgroundColor:dark. |
73 | 611 |
(d addCheckBox:((resources string:'stc & support files (+%1 Mb)' with:stcMegabytes)) on:installSTCHolder) |
10 | 612 |
labelView foregroundColor:Color white backgroundColor:dark. |
613 |
||
614 |
d addVerticalSpace. |
|
615 |
d addHorizontalLine. |
|
616 |
d addVerticalSpace. |
|
617 |
||
11 | 618 |
(d addTextLabel:(resources string:'optional (but highly recommended):')) |
10 | 619 |
adjust:#left; foregroundColor:Color white backgroundColor:dark. |
620 |
||
73 | 621 |
(d addCheckBox:((resources string:'smalltalk source files (+%1 Mb)' with:srcMegabytes)) on:installSourceHolder) |
5 | 622 |
labelView foregroundColor:Color white backgroundColor:dark. |
73 | 623 |
(d addCheckBox:((resources string:'goodies (+0.5 Mb)')) on:installGoodiesHolder) |
5 | 624 |
labelView foregroundColor:Color white backgroundColor:dark. |
625 |
||
626 |
d addVerticalSpace. |
|
627 |
d addHorizontalLine. |
|
628 |
||
24 | 629 |
d addHelpButtonFor:'STXInstaller/installHelp.html'; |
630 |
addAbortButton; |
|
631 |
addOkButtonLabelled:(resources string:'install'). |
|
73 | 632 |
d extent:500@400. |
0 | 633 |
|
634 |
d allViewBackground:dark. |
|
635 |
||
636 |
d openAtCenter. |
|
637 |
d accepted ifTrue:[ |
|
638 |
stxLibDir := LastLibDir := stxLibDirHolder value. |
|
24 | 639 |
stxLibBinDir := LastLibBinDir := stxLibBinDirHolder value. |
0 | 640 |
stxBinDir := LastBinDir := stxBinDirHolder value. |
5 | 641 |
installDocFiles := installDocHolder value. |
642 |
installSourceFiles := installSourceHolder value. |
|
643 |
installSTCFiles := installSTCHolder value. |
|
644 |
installGoodyFiles := installGoodiesHolder value. |
|
1 | 645 |
d destroy. |
0 | 646 |
^ true |
647 |
]. |
|
1 | 648 |
d destroy. |
0 | 649 |
^ false |
650 |
||
117 | 651 |
"Modified: 22.5.1997 / 15:04:29 / cg" |
0 | 652 |
! |
653 |
||
654 |
checkForExistingInstallationAndConfirm |
|
655 |
"look if there is another installation and confirm |
|
656 |
reinstalling; return true if ok, false if not" |
|
657 |
||
1 | 658 |
|whatToDo| |
659 |
||
0 | 660 |
stxLibDir asFilename exists ifTrue:[ |
1 | 661 |
whatToDo := Dialog |
11 | 662 |
choose:(resources |
663 |
string:'detected existing ST/X installation in %1' |
|
664 |
with:stxLibDir asText allBold) |
|
665 |
label:(resources string:'Attention') |
|
666 |
labels:(resources array:#('remove first' 'overwrite' 'cancel')) |
|
1 | 667 |
values:#(remove over nil) |
668 |
default:nil. |
|
73 | 669 |
|
1 | 670 |
whatToDo isNil ifTrue:[^false]. |
671 |
whatToDo == #remove ifTrue:[ |
|
23
42997b231783
double confirm removal of directory, if its name
Claus Gittinger <cg@exept.de>
parents:
22
diff
changeset
|
672 |
((stxLibDir findString:'stx') == 0 |
42997b231783
double confirm removal of directory, if its name
Claus Gittinger <cg@exept.de>
parents:
22
diff
changeset
|
673 |
and:[(stxLibDir findString:'smalltalk') == 0]) ifTrue:[ |
42997b231783
double confirm removal of directory, if its name
Claus Gittinger <cg@exept.de>
parents:
22
diff
changeset
|
674 |
"/ confirm again |
42997b231783
double confirm removal of directory, if its name
Claus Gittinger <cg@exept.de>
parents:
22
diff
changeset
|
675 |
(self confirm:(resources |
42997b231783
double confirm removal of directory, if its name
Claus Gittinger <cg@exept.de>
parents:
22
diff
changeset
|
676 |
string:'are you certain that the directory to remove |
73 | 677 |
(' , stxLibDir , ') is really a smalltalk directory ? |
23
42997b231783
double confirm removal of directory, if its name
Claus Gittinger <cg@exept.de>
parents:
22
diff
changeset
|
678 |
|
73 | 679 |
Remove it now ?')) ifFalse:[ |
680 |
(self confirm:(resources |
|
681 |
string:'overwrite ?')) ifTrue:[^ true]. |
|
682 |
^ false |
|
683 |
] |
|
23
42997b231783
double confirm removal of directory, if its name
Claus Gittinger <cg@exept.de>
parents:
22
diff
changeset
|
684 |
]. |
42997b231783
double confirm removal of directory, if its name
Claus Gittinger <cg@exept.de>
parents:
22
diff
changeset
|
685 |
|
1 | 686 |
(OperatingSystem recursiveRemoveDirectory:stxLibDir) |
687 |
ifFalse:[ |
|
11 | 688 |
self warn:(resources string:'mhmh - could not remove old installation.') |
1 | 689 |
]. |
690 |
]. |
|
691 |
^ true |
|
0 | 692 |
]. |
693 |
^ true |
|
694 |
||
73 | 695 |
"Modified: 2.3.1997 / 13:45:13 / cg" |
0 | 696 |
! |
697 |
||
698 |
doInstall |
|
699 |
"install ST/X; return true if ok, false if not" |
|
700 |
||
4
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
701 |
|progressView ok textView| |
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
702 |
|
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
703 |
textView := HVScrollableView for:TextCollector. |
73 | 704 |
textView preferredExtent:(200 @ 300). |
4
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
705 |
commandTraceView := textView scrolledView. |
0 | 706 |
|
707 |
progressView := ProgressIndicator |
|
26 | 708 |
inBoxWithLabel:'ST/X Installation' icon:(Depth8Image fromImage:Launcher aboutIcon) |
0 | 709 |
text:#('ST/X Installation' '' '' '' '' '' '' '') asStringCollection |
4
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
710 |
abortable:true |
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
711 |
view:textView |
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
712 |
closeWhenDone:false. |
73 | 713 |
progressView topView extent:(640 min:Display width) @ (500 min:Display height). |
0 | 714 |
|
715 |
ok := false. |
|
716 |
||
717 |
progressView showProgressOf: |
|
4
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
718 |
[:progressValue :currentAction| |msg| |
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
719 |
|
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
720 |
Processor activeProcess withPriority:7 do:[ |
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
721 |
actionPercentageHolder := progressValue. |
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
722 |
actionTextHolder := currentAction. |
0 | 723 |
|
73 | 724 |
self outputInitialMessage. |
725 |
||
4
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
726 |
(self createDirectories) ifTrue:[ |
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
727 |
ok := self copyFiles |
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
728 |
]. |
19 | 729 |
self createSymbolicLinks. |
730 |
||
6 | 731 |
progressValue value:100. |
732 |
||
11 | 733 |
progressView topView abortButton label:(resources string:'continue'). |
4
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
734 |
progressView topView abortButton action:[progressView topView hide]. |
11 | 735 |
msg := (resources |
736 |
array:#('ST/X Installation finished.' '' 'press continue ...' '' '' '')) |
|
737 |
asStringCollection. |
|
4
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
738 |
actionTextHolder value:nil. |
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
739 |
actionTextHolder value:msg. |
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
740 |
] |
0 | 741 |
]. |
742 |
||
743 |
^ ok |
|
744 |
||
745 |
"Created: 17.7.1996 / 15:11:27 / cg" |
|
73 | 746 |
"Modified: 2.3.1997 / 12:59:47 / cg" |
0 | 747 |
! |
748 |
||
749 |
open |
|
1 | 750 |
self askAndInstall. |
0 | 751 |
|
5 | 752 |
" |
753 |
STXInstaller open |
|
754 |
" |
|
1 | 755 |
! |
756 |
||
757 |
postInstall |
|
758 |
"some messages at the end ..." |
|
759 |
||
4
8b68fdf7c870
better looking; show command output
Claus Gittinger <cg@exept.de>
parents:
3
diff
changeset
|
760 |
|shInfo cshInfo msg havePath| |
1 | 761 |
|
11 | 762 |
msg := (resources string:'ST/X Installation complete.\\') withCRs. |
1 | 763 |
shInfo := ''. |
764 |
cshInfo := ''. |
|
765 |
||
766 |
havePath := true. |
|
767 |
(((OperatingSystem getEnvironment:'PATH') |
|
768 |
asCollectionOfSubstringsSeparatedBy:$:) |
|
769 |
includes:stxBinDir) ifFalse:[ |
|
770 |
||
771 |
havePath := false. |
|
772 |
shInfo := 'PATH=$PATH:' , stxBinDir , ' ; export PATH\'. |
|
773 |
cshInfo := 'set path=($path ' , stxBinDir , ')\'. |
|
11 | 774 |
msg := msg , (resources string:'%1 is not in your PATH.\You should change your ".login" and/or ".profile" files to include it.\\' |
775 |
with:stxBinDir asText allBold) withCRs. |
|
1 | 776 |
]. |
777 |
||
778 |
(stxLibDir ~= '/usr/local/lib/smalltalk' |
|
779 |
and:[stxLibDir ~= '/usr/lib/smalltalk']) ifTrue:[ |
|
11 | 780 |
msg := msg , (resources string:'The library directory is not a standard ST/X library directory\("/usr/local/lib/smalltalk" or "/usr/lib/smalltalk").\You have to define the %1 environment variable\as %2 before ST/X can be started.\' |
781 |
with:'STX_LIBDIR' asText allBold |
|
782 |
with:stxLibDir asText allBold) withCRs. |
|
1 | 783 |
havePath ifFalse:[ |
11 | 784 |
msg := msg , (resources string:'The above mentioned files are also a good place to do this.\') withCRs. |
1 | 785 |
] ifTrue:[ |
11 | 786 |
msg := msg , (resources string:'The ".login" and/or ".profile" files are a good place to do this.\') withCRs. |
1 | 787 |
]. |
788 |
||
789 |
shInfo := shInfo , 'STX_LIBDIR=' , stxLibDir , ' ; export STX_LIBDIR\'. |
|
790 |
cshInfo := cshInfo , 'setenv STX_LIBDIR ' , stxLibDir , '\'. |
|
791 |
]. |
|
792 |
||
793 |
shInfo notEmpty ifTrue:[ |
|
11 | 794 |
'*********************************************************' errorPrintCR. |
795 |
(resources string:'Message from the ST/X Installer:\\') withCRs errorPrintCR. |
|
796 |
(resources string:'Please add the following to your ".profile" file:') withCRs errorPrintCR. |
|
1 | 797 |
'' errorPrintCR. |
798 |
shInfo withCRs errorPrintCR. |
|
799 |
'' errorPrintCR. |
|
11 | 800 |
(resources string:'or (if you use csh/tcsh), add to your ".login" file:') withCRs errorPrintCR. |
1 | 801 |
'' errorPrintCR. |
802 |
cshInfo withCRs errorPrintCR. |
|
803 |
'' errorPrintCR. |
|
11 | 804 |
'*********************************************************' errorPrintCR. |
1 | 805 |
]. |
73 | 806 |
|
807 |
msg := msg , '\\Have fun using ST/X !!'. |
|
808 |
||
809 |
self information:msg withCRs. |
|
1 | 810 |
|
811 |
" |
|
812 |
STXInstaller new postInstall |
|
813 |
" |
|
814 |
||
73 | 815 |
"Modified: 2.3.1997 / 13:28:18 / cg" |
25
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
816 |
! |
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
817 |
|
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
818 |
preInstall |
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
819 |
"clobber the doc directory, to avoid copying cyclic symbolic links" |
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
820 |
|
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
821 |
|f| |
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
822 |
|
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
823 |
f := '../../doc/online/english/german' asFilename. |
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
824 |
f exists ifTrue:[ |
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
825 |
f isSymbolicLink ifTrue:[ |
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
826 |
OperatingSystem executeCommand:'(cd ../../doc/online; make clobber) >/dev/null 2>/dev/null' |
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
827 |
] |
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
828 |
] |
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
829 |
|
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
830 |
" |
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
831 |
STXInstaller new preInstall |
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
832 |
" |
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
833 |
|
42ee3e7ced09
remove local symbolic links (if any) in doc/online
Claus Gittinger <cg@exept.de>
parents:
24
diff
changeset
|
834 |
"Modified: 18.7.1996 / 22:10:42 / cg" |
0 | 835 |
! ! |
836 |
||
28 | 837 |
!STXInstaller class methodsFor:'documentation'! |
0 | 838 |
|
839 |
version |
|
840 |
^ '$Header$' |
|
841 |
! ! |