Install inkscape via mac builder script if not present

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-06-19 17:48:26 +08:00 committed by Claudio Cambra
parent 705cb09d8d
commit eb7929ace6

View file

@ -60,3 +60,14 @@ if commandExists("brew") {
}
print("Brew installed.")
}
if commandExists("inkscape") {
print("Inkscape is installed.")
} else {
guard shell("brew install inkscape") == 0 else {
print("Failed to install Inkscape.")
exit(1)
}
print("Inkscape installed.")
}