Skip to content

Commit

Permalink
main (ble-update): fix error message with system-wide installation of…
Browse files Browse the repository at this point in the history
… ble.sh

Merge pull request #213 from tars0x9752/fix-typo
  • Loading branch information
akinomyoga committed Jul 21, 2022
2 parents 1c7f7a1 + 1d2a9c1 commit a450775
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ble.pp
Expand Up @@ -1491,11 +1491,11 @@ function ble-reload { source "$_ble_base/ble.sh"; }
_ble_base_repository_url=https://github.com/akinomyoga/ble.sh
function ble-update/.check-install-directory-ownership {
if [[ ! -O $_ble_base ]]; then
ble/uti/print 'ble-update: install directory is owned by another user:' >&2
ble/util/print 'ble-update: install directory is owned by another user:' >&2
ls -ld "$_ble_base"
return 1
elif [[ ! -r $_ble_base || ! -w $_ble_base || ! -x $_ble_base ]]; then
ble/uti/print 'ble-update: install directory permission denied:' >&2
ble/util/print 'ble-update: install directory permission denied:' >&2
ls -ld "$_ble_base"
return 1
fi
Expand Down

0 comments on commit a450775

Please sign in to comment.