Skip to content

Commit 0e2c53a

Browse files
committed
[installer] Be explicit where strings are variables in HOWTO so that it is easier to copy/paste the commands when going through the checklist.
1 parent f9abf3a commit 0e2c53a

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

installer/HOWTO

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,55 +25,55 @@ TODO: figure out how to patch destined $target_OSX and $target_CPU
2525
into InstallationCheck and *.lproj/InstallationCheck.strings
2626

2727
Step 1:
28-
Clear out /sw so that a fresh version can be installed there.
28+
Clear out $FINK_ROOT so that a fresh version can be installed there.
2929

3030
Step 2:
3131
Download fink-BINDIST_VERSION-full.tar.gz from sourceforge (or use the copy
3232
you generated when building the srcdist), unpack it and run "./bootstrap",
33-
installing into /sw. Accept all default choices during configuration.
33+
installing into $FINK_ROOT. Accept all default choices during configuration.
3434

3535
Step 2A:
3636
Make sure that the file CURRENT-FINK-$OSX_VERSION is present on the fink
37-
website, and run "/sw/bin/fink selfupdate", selecting option 3 (stick to
37+
website, and run "$FINK_ROOT/bin/fink selfupdate", selecting option 3 (stick to
3838
point releases).
3939

4040
Step 3:
41-
Run "/sw/bin/fink update-all" in case there were updates to base-packages
41+
Run "$FINK_ROOT/bin/fink update-all" in case there were updates to base-packages
4242
since the last package manager release.
4343

4444
Step 4:
45-
Remove all .deb's in /sw/fink/dists/stable/main/binary-darwin-x86_64/* ,
46-
and then remove all symlinks from /sw/fink/debs - you can do this by doing:
47-
"sudo find /sw/fink -name '*.deb' -exec rm -rf {} \;"
45+
Remove all .deb's in $FINK_ROOT/fink/dists/stable/main/binary-darwin-x86_64/* ,
46+
and then remove all symlinks from $FINK_ROOT/fink/debs - you can do this by doing:
47+
"sudo find $FINK_ROOT/fink -name '*.deb' -exec rm -rf {} \;"
4848

4949
Step 5:
50-
Remove /sw/src/*
50+
Remove $FINK_ROOT/src/*
5151

5252
Step 6:
53-
Run "/sw/bin/fink scanpackages", and then "sudo /sw/bin/apt-get update" to
53+
Run "$FINK_ROOT/bin/fink scanpackages", and then "sudo $FINK_ROOT/bin/apt-get update" to
5454
properly prepare for distribution.
5555

5656
Step6a:
57-
Run "/sw/bin/fink list --installed" to be ready with the information when
57+
Run "$FINK_ROOT/bin/fink list --installed" to be ready with the information when
5858
needed in step 8.
5959

6060
Step 6b:
61-
Check permissions in your /sw directory to verify things are world-readable
61+
Check permissions in your $FINK_ROOT directory to verify things are world-readable
6262
when appropriate
6363

6464
Step 6c:
65-
Run "chmod 1755 IN_BASEDIR/contents" to get the permissions of the
65+
Run "chmod 1755 $IN_BASEDIR/contents" to get the permissions of the
6666
"contents" directory to match those of / on the target machine.
6767

6868
Step 7:
69-
Move the entire /sw directory into a subdirectory of IN_BASEDIR/contents
70-
(that is, you should have a directory IN_BASEDIR/contents/sw/ when you are
69+
Move the entire $FINK_ROOT directory into a subdirectory of $IN_BASEDIR/contents
70+
(that is, you should have a directory $IN_BASEDIR/contents$FINK_ROOT/ when you are
7171
finished).
72-
Run "sudo cp -Rp /sw $IN_BASEDIR/contents" to copy. This preserves internal
72+
Run "sudo cp -Rp $FINK_ROOT $IN_BASEDIR/contents" to copy. This preserves internal
7373
file permissions.
7474

7575
Step 7a:
76-
Update the copy of FinkCommander in IN_BASEDIR/dmg to the latest version.
76+
Update the copy of FinkCommander in $IN_BASEDIR/dmg to the latest version.
7777

7878
Step 8.
7979
Use TextEdit to examine the files in the resources and dmg subdirs of

0 commit comments

Comments
 (0)