more flutter setup, for mac

This commit is contained in:
John Smith
2022-01-16 19:22:23 -05:00
parent c9b9133b2e
commit 46b641d351
5 changed files with 44 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
if [ ! "$(grep -Ei 'debian|buntu|mint' /etc/*release)" ]; then
if [ ! "$(grep -qEi 'debian|buntu|mint' /etc/*release 2>/dev/null)" ]; then
echo Not a supported Linux
exit 1
fi