Skip to content

Commit

Permalink
Installer will now handle any disabled certificates properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Futaura committed Dec 9, 2023
1 parent 35eb9ea commit 2186d2c
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions dist/Install-AmiSSL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; $VER: Install-AmiSSL 5.13 (7.12.2023)
; $VER: Install-AmiSSL 5.13 (9.12.2023)

(set #AmiUpdate (if (= @app-name "AmiUpdate") 1 0))

Expand Down Expand Up @@ -347,8 +347,6 @@
(set #amissl-ver (/ #new-lib-ver 65536))
(set #amissl-rev (- #new-lib-ver (* #amissl-ver 65536)))

(set #resident-lib-ver (getversion "amisslmaster.library" (resident)))

; Try to force ramlib on OS4 to expunge libraries to release exclusive
; library file locks, which is necessary until AmiSSL 5.6 + elf.library 53.35
(if (= #detectedSystem "os4")
Expand Down Expand Up @@ -546,10 +544,26 @@
(complete 75)

(if (= #copy-certs 1)
(copyfiles
(source "Certs")
(dest #certs-dir)
(all)
(if (exists (tackon #certs-dir "disabled"))
(foreach "Certs" "#?"
(if (exists (tackon (tackon #certs-dir "disabled") @each-name))
(copyfiles
(source (tackon "Certs" @each-name))
(dest (tackon #certs-dir "disabled"))
)
;else
(copyfiles
(source (tackon "Certs" @each-name))
(dest #certs-dir)
)
)
)
;else
(copyfiles
(source "Certs")
(dest #certs-dir)
(all)
)
)
)

Expand Down

0 comments on commit 2186d2c

Please sign in to comment.