RETURN_LABEL_NAME implemented

When using DEPNotify I would like Installomator to return a nice name for the label to show as status in DEPNotify, instead of only the label name.
This way we can do that.
And maybe in the fute include a description of the software, if people are seeking inspiration to software by looking at Installomator (that contains a lot of preferred solution for many)
This commit is contained in:
Søren Theilgaard
2022-01-07 09:51:27 +01:00
parent fd4e00d1fd
commit 3b6e27f1fa
3 changed files with 19 additions and 0 deletions
+7
View File
@@ -5,6 +5,13 @@
;;
esac
# Are we only asked to return label name
if [[ $RETURN_LABEL_NAME -eq 1 ]]; then
printlog "Only returning label name."
printlog "$name"
echo "$name"
exit
fi
# MARK: application download and installation starts here