mirror of
https://github.com/MobSF/Mobile-Security-Framework-MobSF.git
synced 2026-10-11 22:50:09 +00:00
Update setup.sh
Catalina GM sounds have headers directly installed
This commit is contained in:
@@ -24,7 +24,7 @@ if [[ "$unamestr" == 'Darwin' ]]; then
|
||||
minor=$(echo "$current_macos_version" | cut -d'.' -f2)
|
||||
is_installed=$(pkgutil --pkgs=com.apple.pkg.macOS_SDK_headers_for_macOS_${current_macos_version})
|
||||
if [ -z "$is_installed" ]; then
|
||||
if [ "$major" -ge "10" ] && [ "$minor" -ge "14" ]; then
|
||||
if [ "$major" -ge "10" ] && [ "$minor" -lt "15" ]; then
|
||||
echo 'Please install command-line tools and macOS headers.'
|
||||
echo 'xcode-select --install'
|
||||
echo "sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_${current_macos_version}.pkg -target /"
|
||||
|
||||
Reference in New Issue
Block a user