From d4e5a3ae3185a5cacfe7542cf4244c51ee0c7964 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 21 Feb 2009 11:09:56 +0000 Subject: Don't show the option for AISS theme is AISS is not installed svn path=/trunk/netsurf/; revision=6588 --- amiga/dist/Install | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'amiga/dist/Install') diff --git a/amiga/dist/Install b/amiga/dist/Install index 1871b682a..62970a43b 100755 --- a/amiga/dist/Install +++ b/amiga/dist/Install @@ -65,14 +65,18 @@ (if (= #options-exist 0) ( + (if (exists "TBimages:" (noreq)) + (set #aiss-theme "AISS") + ) + (set #themename (askchoice - (prompt "Please select theme\n" - "AISS theme requires AISS and def_pointers packages " - "to be installed.") -; perhaps we should be detecting these? - (help @askchoice-help) - (choices "Default" "AISS") + (prompt "Please select theme") + (help "AISS theme requires AISS (and def_pointers for 32-bit " + "pointers), and will only be shown as an option if " + "AISS is installed.\n\n" + @askchoice-help) + (choices "Default" #aiss-theme) (default 0) ) ) @@ -121,6 +125,8 @@ (p_setmimetype "bmp" "image/bmp") (p_setmimetype "ico" "image/ico") (p_setmimetype "sprite" "image/x-riscos-sprite") +(p_setmimetype "lha" "application/x-lha") +(p_setmimetype "zip" "application/x-zip") (complete 100) -- cgit v1.2.3