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