Suppression _mas_test.sh

This commit is contained in:
2018-07-26 14:49:32 +02:00
parent 6499acae3b
commit db70d8f8d0

View File

@@ -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