2024-07-17 12:18:27 +00:00
|
|
|
#!/bin/env fish
|
|
|
|
begin
|
|
|
|
set -l dir (status dirname)
|
2024-11-01 12:12:16 +00:00
|
|
|
source "$dir/../../lib/software.fish"
|
2024-07-17 12:18:27 +00:00
|
|
|
|
|
|
|
function installSW
|
|
|
|
yayinst \
|
|
|
|
jdk-temurin
|
|
|
|
|
|
|
|
yayinst \
|
|
|
|
icedtea-web
|
|
|
|
end
|
|
|
|
|
|
|
|
function configureSW
|
|
|
|
# Allow execution of huwaei KVM application (uses out of date security mechanisms)
|
|
|
|
sudo sed -i \
|
|
|
|
"/^jdk.jar.disabledAlgorithms=/{ :comment; s/\(.*\)/#\1/; /\\\\\$/{ n; bcomment; }; }" \
|
|
|
|
/usr/lib/jvm/default-runtime/conf/security/java.security
|
|
|
|
end
|
|
|
|
|
|
|
|
runInstaller $argv
|
|
|
|
end
|