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