All checks were successful
continuous-integration/drone/tag Build is passing
17 lines
342 B
Plaintext
17 lines
342 B
Plaintext
#
|
|
# 40LibreSchoolAptKey
|
|
#
|
|
{
|
|
$OUT .= "cat <<EOF | apt-key add -\n";
|
|
$OUT .= do {
|
|
local $/ = undef;
|
|
open my $fh, "<", "/srv/ipxe/libreschool.asc"
|
|
or ++$errors;
|
|
<$fh>;
|
|
};
|
|
$OUT .= "EOF\n";
|
|
if($errors) {
|
|
die("[ERROR] Cannot load libreschool GPG key!\n");
|
|
}
|
|
}
|