Merge branch 'main' into dev

This commit is contained in:
adityauj
2025-07-04 12:34:51 +02:00
committed by GitHub
7 changed files with 188 additions and 68 deletions

View File

@@ -31,15 +31,6 @@ else
echo "Docker installed."
fi
# check if docker-compose is installed and available
if ! docker-compose --version; then
echo "Docker-compose not installed!"
echo -n "Stopped."
exit
else
echo "Docker-compose installed."
fi
# check if npm is installed and available
if ! npm --version; then
echo "NPM not installed!"

View File

@@ -16,17 +16,24 @@ while (<IN>) {
}
}
close IN;
my $fail = 0;
for my $code (@modules) {
my ( undef, $library ) = split( / /, $code ); # get the module name
$library =~ s/;//; # clean up the name
eval $code;
if ($@) {
warn "couldn't load $library: $@", "\n";
} else {
print "$library looks ok\n";
$fail = 1;
}
}
if ($fail) {
exit 0;
} else {
exit 1;
}
sub help
{
print <<"END";