Fix typo in commands/portzap-setup
Some checks are pending
portzap / shellcheck (push) Waiting to run

This commit is contained in:
0x1eef 2024-09-13 04:57:50 -03:00
parent 9af7654a9f
commit d449bcc1b4
2 changed files with 6 additions and 2 deletions

View file

@ -14,8 +14,8 @@ libexec="${localbase}"/libexec/portzap
## ##
# main # main
if [ "$(id -u)" = "0" ]; then if [ "$(id -u)" = "0" ]; then
"${libexec}"/setup/setup-user "${libexec}"/scripts/setup-user
"${libexec}"/setup/setup-doas "${libexec}"/scripts/setup-doas
printok "setup complete" printok "setup complete"
else else
printerr "you must be root" printerr "you must be root"

View file

@ -2,6 +2,10 @@
* vNEXT * vNEXT
**** Fix typo in ~commands/portzap-setup~
This change fixes a typo that would throw an error when
running the ~portzap setup~ command
**** Replace chmod with -M switch **** Replace chmod with -M switch
This change replaces chmod with the -M switch. The -M switch This change replaces chmod with the -M switch. The -M switch
is given to the ~pw useradd~ command in the ~setup-user~ is given to the ~pw useradd~ command in the ~setup-user~