Use Copystore to copy SObjs when install triggered by AmiUpdate

svn path=/trunk/netsurf/; revision=6782
This commit is contained in:
Chris Young 2009-03-14 12:37:28 +00:00
parent a3a28f9e5f
commit 301c38b4b4
1 changed files with 30 additions and 14 deletions

44
amiga/dist/Install vendored
View File

@ -18,7 +18,7 @@
(if (= #sobj-version 0)
(
(transcript "Date compare copy " #sobj)
(transcript "Date compare " #sobj)
(if (exists (tackon "SObjs:" #sobj))
(
@ -79,25 +79,41 @@
(if (<> #copy 0)
(
(copyfiles
(prompt "Copying " #sobj "...")
(help @copyfiles-help)
(source (tackon "SObjs/" #sobj))
(dest "SObjs:")
(optional "nofail" "force")
(if (<> #AutoInstall 1)
(
(copyfiles
(prompt "Copying " #sobj "...")
(help @copyfiles-help)
(source (tackon "SObjs/" #sobj))
(dest "SObjs:")
(optional "nofail" "force")
)
)
;else
(
(run "CopyStore SObjs/" #sobj " SObjs:")
)
)
)
)
)
; else if version info is available
(
(copylib
(prompt "Copying " #sobj "...")
(help @copylib-help)
(source (tackon "SObjs/" #sobj))
(dest "SObjs:")
(optional "nofail" "force")
(confirm "expert")
(if (<> #AutoInstall 1)
(
(copylib
(prompt "Copying " #sobj "...")
(help @copylib-help)
(source (tackon "SObjs/" #sobj))
(dest "SObjs:")
(optional "nofail" "force")
(confirm "expert")
)
)
;else
(
(run "CopyStore SObjs/" #sobj " SObjs:")
)
)
)
)