Compare commits

..

No commits in common. "d449bcc1b493deb674422263a401fadce59cebeb" and "2b65970db6afef30d03411b8784df541e04efa01" have entirely different histories.

3 changed files with 3 additions and 14 deletions

View file

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

View file

@ -21,7 +21,7 @@ else
-n "${user}" \
-c "portzap user" \
-m \
-M $("${libexec}"/scripts/get-default-umask) \
-s /sbin/nologin
chmod u=rwX,g=rX,o= /home/"${user}"/
printok "${user} user created"
fi

View file

@ -1,16 +1,5 @@
# -*- mode: org -*-
* 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
This change replaces chmod with the -M switch. The -M switch
is given to the ~pw useradd~ command in the ~setup-user~
script
* v1.2.0
**** Change default clone url