summaryrefslogtreecommitdiff
path: root/amiga/dist
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-09-26 21:50:39 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-09-26 21:50:39 +0000
commite3aceb4344a57444f80e95abc99665d12b7de5d3 (patch)
treef486f443e492133a1e50b54ec22b3b67f42fe260 /amiga/dist
parente90f794706d8b0712c0e29b3537ef849d3c3042b (diff)
downloadnetsurf-e3aceb4344a57444f80e95abc99665d12b7de5d3.tar.gz
netsurf-e3aceb4344a57444f80e95abc99665d12b7de5d3.tar.bz2
Abort if user is <OS4.1 and no static version available.
Probably needs moving up to before the user has been asked for an install location svn path=/trunk/netsurf/; revision=12895
Diffstat (limited to 'amiga/dist')
-rwxr-xr-xamiga/dist/Install7
1 files changed, 7 insertions, 0 deletions
diff --git a/amiga/dist/Install b/amiga/dist/Install
index 2d0a4d589..738504e8a 100755
--- a/amiga/dist/Install
+++ b/amiga/dist/Install
@@ -332,6 +332,13 @@
(transcript "Versions avaiable for install: " #versions-available " " #static-name " " #cairo-name)
+(if (= #versions-available 0)
+ (
+ (abort "Did not find any compatible versions of NetSurf to install!\n\n"
+ "NetSurf requires AmigaOS 4.1 or higher.")
+ )
+)
+
(complete 10)
(if (AND (> @user-level 0) (> #versions-available 1))