File tree Expand file tree Collapse file tree 4 files changed +0
-87
lines changed Expand file tree Collapse file tree 4 files changed +0
-87
lines changed Original file line number Diff line number Diff line change @@ -1072,32 +1072,6 @@ function installPortableBinary()
1072
1072
# MAC UTILITIES #
1073
1073
# ################
1074
1074
1075
- function clearMacAppExtendedAttributes()
1076
- {
1077
- local -r headerMessage=" ${1} "
1078
- local -r applicationPaths=(" ${@: 2} " )
1079
-
1080
- checkRequireMacSystem
1081
-
1082
- if [[ " ${# applicationPaths[@]} " -gt ' 0' ]]
1083
- then
1084
- header " ${headerMessage} "
1085
- fi
1086
-
1087
- local applicationPath=' '
1088
-
1089
- for applicationPath in " ${applicationPaths[@]} "
1090
- do
1091
- # Find Non-Default Apple App
1092
-
1093
- if [[ " $( ls -d -l -O " ${applicationPath} " | grep -E ' \s+restricted\s+' ) " = ' ' ]]
1094
- then
1095
- info " clearing extended attributes of '${applicationPath} '"
1096
- xattr -c -r -s " ${applicationPath} "
1097
- fi
1098
- done
1099
- }
1100
-
1101
1075
function closeMacApplications()
1102
1076
{
1103
1077
local -r headerMessage=" ${1} "
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -89,11 +89,6 @@ function installBrewPackage()
89
89
sudo " $( dirname " ${BASH_SOURCE[0]} " ) /../cookbooks/${packageName} /recipes/post-install.bash"
90
90
fi
91
91
done
92
-
93
- if [[ " ${packageType} " = ' cask' && " ${# packageNameList[@]} " -gt ' 0' ]]
94
- then
95
- sudo " $( dirname " ${BASH_SOURCE[0]} " ) /clear-app-extended-attributes.bash"
96
- fi
97
92
}
98
93
99
94
function install()
Original file line number Diff line number Diff line change @@ -59,8 +59,6 @@ function install()
59
59
then
60
60
header ' UPGRADING STORE APPLICATIONS'
61
61
mas upgrade
62
-
63
- sudo " $( dirname " ${BASH_SOURCE[0]} " ) /clear-app-extended-attributes.bash"
64
62
fi
65
63
}
66
64
You can’t perform that action at this time.
0 commit comments