summaryrefslogtreecommitdiff
path: root/amiga/dist
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-02-21 11:09:56 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-02-21 11:09:56 +0000
commitd4e5a3ae3185a5cacfe7542cf4244c51ee0c7964 (patch)
tree9d8a068be73b447c92c596df4068f841c5abecad /amiga/dist
parent7b838593f25af93c4b4a3faef6ea33bce34b8d24 (diff)
downloadnetsurf-d4e5a3ae3185a5cacfe7542cf4244c51ee0c7964.tar.gz
netsurf-d4e5a3ae3185a5cacfe7542cf4244c51ee0c7964.tar.bz2
Don't show the option for AISS theme is AISS is not installed
svn path=/trunk/netsurf/; revision=6588
Diffstat (limited to 'amiga/dist')
-rwxr-xr-xamiga/dist/Install18
1 files changed, 12 insertions, 6 deletions
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)