diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-03-14 12:37:28 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-03-14 12:37:28 +0000 |
commit | 301c38b4b4a0aad10cb5f9e61016a98d97f03613 (patch) | |
tree | d38067f3382a8655284217e9e97cc2f0b3b877a6 | |
parent | a3a28f9e5f28595a5c276f80ead6e215fe18374b (diff) | |
download | netsurf-301c38b4b4a0aad10cb5f9e61016a98d97f03613.tar.gz netsurf-301c38b4b4a0aad10cb5f9e61016a98d97f03613.tar.bz2 |
Use Copystore to copy SObjs when install triggered by AmiUpdate
svn path=/trunk/netsurf/; revision=6782
-rwxr-xr-x | amiga/dist/Install | 44 |
1 files changed, 30 insertions, 14 deletions
diff --git a/amiga/dist/Install b/amiga/dist/Install index 950d04f66..6dcb4baee 100755 --- a/amiga/dist/Install +++ b/amiga/dist/Install @@ -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:") + ) ) ) ) |