Suppression _mas_test.sh
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ "${1}" == "latest" ]]; then
|
||||
echo "_mas_test.sh: mas"
|
||||
fi
|
||||
|
||||
|
||||
echo "🍏 Mac App Store updates come fast as lightning"
|
||||
#mas outdated
|
||||
massy=`mas outdated`
|
||||
echo ""
|
||||
|
||||
if [ -n "$massy" ]; then
|
||||
#if [ $massy != 0 ]; then
|
||||
read -p "Do you wanna run mas upgrade? (y/n)" choice
|
||||
case "$choice" in
|
||||
y|Y|o ) mas upgrade;;
|
||||
n|N ) echo "Ok, let's continue";;
|
||||
* ) echo "invalid";;
|
||||
esac
|
||||
echo ""
|
||||
fi
|
||||
Reference in New Issue
Block a user