mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-06 06:49:53 -06:00
Make cli usable on FreeBSD
This commit is contained in:
committed by
Stian Thorgersen
parent
b6d545b332
commit
c5f861a522
@@ -56,6 +56,8 @@ public class OsUtil {
|
||||
return new OsArch("sunos5", "x86_64");
|
||||
} else if (os.startsWith("mac os x")) {
|
||||
return new OsArch("osx", "x86_64");
|
||||
} else if (os.startsWith("freebsd")) {
|
||||
return new OsArch("freebsd", arch);
|
||||
}
|
||||
|
||||
// unsupported platform
|
||||
|
||||
@@ -40,6 +40,8 @@ public class OsUtil {
|
||||
return new OsArch("sunos5", "x86_64");
|
||||
} else if (os.startsWith("mac os x")) {
|
||||
return new OsArch("osx", "x86_64");
|
||||
} else if (os.startsWith("freebsd")) {
|
||||
return new OsArch("freebsd", arch);
|
||||
}
|
||||
|
||||
// unsupported platform
|
||||
|
||||
@@ -37,6 +37,8 @@ public class OsUtils {
|
||||
return new OsArch("sunos5", "x86_64");
|
||||
} else if (os.startsWith("mac os x")) {
|
||||
return new OsArch("osx", "x86_64");
|
||||
} else if (os.startsWith("freebsd")) {
|
||||
return new OsArch("freebsd", arch);
|
||||
}
|
||||
|
||||
// unsupported platform
|
||||
|
||||
Reference in New Issue
Block a user