summaryrefslogtreecommitdiff
path: root/amiga/dist/Install
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-04-25 21:47:39 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-04-25 21:47:39 +0000
commitb8dde8e473fb39decc931fe4ff9ee8ad552b8f26 (patch)
tree48160481a7ffb043304547f248a0ca6192b84f80 /amiga/dist/Install
parent49e705c62eac1d94ba0eb3fd065de494d83842bc (diff)
downloadnetsurf-b8dde8e473fb39decc931fe4ff9ee8ad552b8f26.tar.gz
netsurf-b8dde8e473fb39decc931fe4ff9ee8ad552b8f26.tar.bz2
Post-2.0 release changes: stripped static binary in only 5MB
Fix AutoInstall copying NetSurf_Cairo without renaming Fix installing on systems without AISS svn path=/trunk/netsurf/; revision=7315
Diffstat (limited to 'amiga/dist/Install')
-rwxr-xr-xamiga/dist/Install33
1 files changed, 21 insertions, 12 deletions
diff --git a/amiga/dist/Install b/amiga/dist/Install
index 84be14eb8..88162cf18 100755
--- a/amiga/dist/Install
+++ b/amiga/dist/Install
@@ -156,16 +156,14 @@
)
(set #cairo-version 1)
(set #netsurf-exists (exists (tackon @default-dest "NetSurf")))
-; (if (<> #netsurf-exists 0)
-; (
+ (if (<> #netsurf-exists 0)
+ (
; Guess if the installed version is static, if it
- ; is bigger than 9MB then it probably is!
-; Comment this out temporarily as we want AutoInstall to update to the Cairo
-; version at this stage, as it hasn't seen a snapshot release yet.
-; (set #netsurf-size (getsize (tackon @default-dest "NetSurf")))
-; (if (> #netsurf-size 9000000) (set #cairo-version 0))
-; )
-; )
+ ; is bigger than 5MB then it probably is!
+ (set #netsurf-size (getsize (tackon @default-dest "NetSurf")))
+ (if (> #netsurf-size 5000000) (set #cairo-version 0))
+ )
+ )
)
; else
(
@@ -195,6 +193,7 @@
(complete 15)
(set #options-exist (exists (tackon @default-dest "Resources/Options")))
+(set #aiss-theme "")
(if (= #options-exist 0)
(
@@ -234,14 +233,24 @@
(source #netsurf-name)
(dest @default-dest)
(newname "NetSurf")
- (infos)
(optional "askuser" "force" "oknodelete")
(confirm "expert")
)
)
;else
(
- (run "CopyStore " #netsurf-name " " @default-dest)
+ (copyfiles
+ (prompt "Please check the version of NetSurf you are copying against "
+ "any which might already be installed.")
+ (help @copyfiles-help)
+ (source #netsurf-name)
+ (dest "T:")
+ (newname "NetSurf")
+ (optional "force" "oknodelete")
+ )
+
+ (run "CopyStore T:NetSurf" @default-dest)
+ (delete "T:NetSurf")
)
)
@@ -250,7 +259,7 @@
(copyfiles
(prompt "Copying files")
(source "")
- (choices "Resources" "Rexx" "NetSurf.guide" "NetSurf.readme")
+ (choices "Resources" "Rexx" "NetSurf.guide" "NetSurf.readme" "COPYING")
(help @copyfiles-help)
(dest @default-dest)
(infos)