Merge pull request #49 from andrejusk/add-appcleaner
Add AppCleaner to macOS install
This commit is contained in:
15
script/install.d/76-appcleaner.sh
Normal file
15
script/install.d/76-appcleaner.sh
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
# Description:
|
||||||
|
# (macOS only) Install AppCleaner.
|
||||||
|
#
|
||||||
|
|
||||||
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
if ! brew list --cask appcleaner &> /dev/null; then
|
||||||
|
brew install --cask appcleaner
|
||||||
|
echo "AppCleaner has been installed."
|
||||||
|
else
|
||||||
|
echo "AppCleaner is already installed."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user