fix typo `/man1}` -> `/man1`

This was causing the script to always use sudo privilages if `/man1` already exists
This commit is contained in:
aarondill 2023-07-05 13:57:11 -05:00
parent 68b22402c9
commit dff0050a5e
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ main() {
# After this point, $sudo is used for _bin_dir instead of _bin_dir
if { [ -d "${_man_dir}/man1" ] && test_writeable "${_man_dir}/man1}"; } ||
if { [ -d "${_man_dir}/man1" ] && test_writeable "${_man_dir}/man1"; } ||
{ ! [ -d "${_man_dir}/man1" ] && test_writeable "${_man_dir}"; }; then
log "Installing zoxide man pages, please wait…"
_sudo=""