mirror of
https://github.com/MLBZ521/MacAdmin.git
synced 2026-02-03 14:03:26 +00:00
24 lines
1.1 KiB
Bash
24 lines
1.1 KiB
Bash
#!/bin/bash
|
|
|
|
###################################################################################################
|
|
# Script Name: uninstall_AcrobatPro2017.sh
|
|
# By: Zack Thompson / Created: 6/30/2017
|
|
# Version: 1.0 / Updated: 6/30/2017 / By: ZT
|
|
#
|
|
# Description: This script uninstalls Acrobat Pro v2017.
|
|
#
|
|
###################################################################################################
|
|
|
|
# Call the built-in uninstall mechanism if the application is currently installed.
|
|
/bin/echo "Checking if Acrobat Pro v2017 is currently installed..."
|
|
|
|
if [[ -e "/Applications/Adobe Acrobat 2017/Adobe Acrobat.app" ]]; then
|
|
/bin/echo "Uninstalling Acrobat Pro v2017..."
|
|
"/Applications/Adobe Acrobat 2017/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/MacOS/RemoverTool" "/Applications/Adobe Acrobat 2017/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/MacOS/RemoverTool" "/Applications/Adobe Acrobat 2017/Adobe Acrobat.app"
|
|
/bin/echo "Uninstall Complete!"
|
|
else
|
|
/bin/echo "Acrobat Pro v2017 is not installed."
|
|
fi
|
|
|
|
exit 0
|