From 921ba0f79e729f076e3b772ded54c71c12648b30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Tue, 19 Oct 2021 15:16:20 +0200 Subject: [PATCH] Removal script --- MDM/MDMAddigy CustomSoftware.sh | 6 ------ MDM/RemoveInstallomator.sh | 12 ++++++++++++ 2 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 MDM/RemoveInstallomator.sh diff --git a/MDM/MDMAddigy CustomSoftware.sh b/MDM/MDMAddigy CustomSoftware.sh index e17dcba..9d26a50 100755 --- a/MDM/MDMAddigy CustomSoftware.sh +++ b/MDM/MDMAddigy CustomSoftware.sh @@ -63,9 +63,3 @@ else echo "Installed version is the same or newer than ${TARGET_VERSION}." exit 1 fi - -# Mark: Removal steps -pkgutil --forget "dk.theilgaard.pkg.Installomator" -rm /usr/local/bin/Installomator.sh -rm /usr/local/bin/InstallomatorLabels.sh -rm /usr/local/Installomator/Installomator.sh diff --git a/MDM/RemoveInstallomator.sh b/MDM/RemoveInstallomator.sh new file mode 100644 index 0000000..17fb0ff --- /dev/null +++ b/MDM/RemoveInstallomator.sh @@ -0,0 +1,12 @@ +#!/bin/zsh + +# how to remove Installomator. + +# Mark: This fork +pkgutil --forget "com.scriptingosx.Installomator" +rm /usr/local/Installomator/Installomator.sh + +# Mark: Theile fork +pkgutil --forget "dk.theilgaard.pkg.Installomator" +rm /usr/local/bin/Installomator.sh +rm /usr/local/bin/InstallomatorLabels.sh