feat: macos and brew install support
This commit is contained in:
13
script/install.d/98-clean.sh
Executable file
13
script/install.d/98-clean.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Description:
|
||||
# Clean up after installation.
|
||||
#
|
||||
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
brew cleanup
|
||||
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
sudo apt-get autoremove -qq
|
||||
sudo apt-get clean -qq
|
||||
fi
|
||||
Reference in New Issue
Block a user