Version 9.4 of my MDM scripts

This commit is contained in:
Theile
2022-09-19 11:38:43 +02:00
parent 0c4d7b0c56
commit 9c5ab45851
31 changed files with 3953 additions and 713 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/sh
gitusername="Installomator"
gitreponame="Installomator"
appNewVersion=$(curl -sLI "https://github.com/$gitusername/$gitreponame/releases/latest" | grep -i "^location" | tr "/" "\n" | tail -1 | sed 's/[^0-9\.]//g')
destFile="/usr/local/Installomator/Installomator.sh"
if [[ ! -e "${destFile}" || "$(${destFile} version)" != "$appNewVersion" ]]; then
#echo "Let's install…"
exit 0
else
#echo "No need!"
exit 1
fi