summaryrefslogtreecommitdiff
path: root/amiga/dist/Install
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2008-12-13 23:19:33 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2008-12-13 23:19:33 +0000
commit8a5ec4710e0a9a252259b39a84f50d9bf1d2c21c (patch)
tree1789e9e4c92f31148cc06c0e46680ef34e609836 /amiga/dist/Install
parent2b96f7fecdbd6add81e455f5b7e960e61f1220bf (diff)
downloadnetsurf-8a5ec4710e0a9a252259b39a84f50d9bf1d2c21c.tar.gz
netsurf-8a5ec4710e0a9a252259b39a84f50d9bf1d2c21c.tar.bz2
Copy theme's NetSurf.info if it exists and this is a new install.
svn path=/trunk/netsurf/; revision=5904
Diffstat (limited to 'amiga/dist/Install')
-rwxr-xr-xamiga/dist/Install12
1 files changed, 12 insertions, 0 deletions
diff --git a/amiga/dist/Install b/amiga/dist/Install
index 205a97613..2c36737d8 100755
--- a/amiga/dist/Install
+++ b/amiga/dist/Install
@@ -29,6 +29,8 @@
)
)
+(set #icon-exists (exists (tackon @default-dest "NetSurf.info")))
+
(copylib
(prompt "Please check the version of NetSurf you are copying against "
"any which might already be installed.")
@@ -102,6 +104,16 @@
(set #theme "Resources/Themes/AISS")
)
+ (set #theme-icon (tackon @default-dest (tackon #theme "NetSurf.info")))
+ (set #options-exist (exists #theme-icon))
+
+ (copyfiles
+ (prompt "Copying theme icon")
+ (source #theme-icon)
+ (help @copyfiles-help)
+ (dest @default-dest)
+ )
+
(textfile
(prompt "Setting default options")
(help @textfile-help)