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