Skip to content

Commit 8ca49ba

Browse files
committed
Fix the broken OS checks
1 parent f8aba43 commit 8ca49ba

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Sources/Swiftly/SelfUpdate.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ struct SelfUpdate: SwiftlyCommand {
5353
if let version {
5454
#if os(macOS)
5555
downloadURL = URL(string: "https://download.swift.org/swiftly/darwin/swiftly-\(version).pkg")
56-
#endif
57-
58-
#if os(Linux)
56+
#elseif os(Linux)
5957
#if arch(x86_64)
6058
downloadURL = URL(string: "https://download.swift.org/swiftly/linux/swiftly-\(version)-x86_64.tar.gz")
6159
#elseif arch(arm64)

0 commit comments

Comments
 (0)