From f0408f287e5a33e0c904e113510a9585dfcf4e84 Mon Sep 17 00:00:00 2001 From: Hanspeter Niederstrasser Date: Thu, 3 Nov 2011 15:50:50 -0400 Subject: [PATCH] [installer] add list of checks that the Installer scripts perform --- installer/resources/InstallationCheck | 6 ++++++ installer/resources/VolumeCheck | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/installer/resources/InstallationCheck b/installer/resources/InstallationCheck index 7d25b50..e35c243 100755 --- a/installer/resources/InstallationCheck +++ b/installer/resources/InstallationCheck @@ -1,6 +1,12 @@ #!/usr/bin/perl # -*- mode: Perl; tab-width: 4; -*- +# Checks performed: +# No previous Fink installation +# Installer is for current OS X version +# Installer is for current OS X architecture +# Xcode is present + use File::Find; use POSIX qw(uname); diff --git a/installer/resources/VolumeCheck b/installer/resources/VolumeCheck index 3754212..e3c3a20 100755 --- a/installer/resources/VolumeCheck +++ b/installer/resources/VolumeCheck @@ -1,6 +1,12 @@ #!/usr/bin/perl # -*- mode: Perl; tab-width: 4; -*- +# Checks performed: +# No previous Fink installation +# User has write permission to target volume +# Symlinks are possible +# Permissions are enabled on volume (via diskutil) + use File::Find; my $basedir = "FINK_ROOT";