Skip to content

Commit

Permalink
update lib
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbtek committed Jan 28, 2019
1 parent 776ed10 commit 3601a3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/util.bash
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ function openMacApplications()
done
}

function clearAppExtendedAttributes()
function clearMacAppExtendedAttributes()
{
local -r headerMessage="${1}"
local -r applicationPaths=("${@:2}")
Expand All @@ -833,7 +833,7 @@ function clearAppExtendedAttributes()
if [[ "$(ls -d -l -O "${applicationPath}" | grep -E '\s+restricted\s+')" = '' ]]
then
info "clearing extended attributes of '${applicationPath}'"
xattr -c -r "${applicationPath}"
xattr -c -r -s "${applicationPath}"
fi
done
}
Expand Down

0 comments on commit 3601a3f

Please sign in to comment.