'/home/_portzap/ports/' and '/usr/ports/' have reduced permissions for
members of the '_portzap' group, who now possess read-only permissions
for both directories.
The 'portzap erase' command must be run by root, since members of the
'_portzap' group can't delete contents of either of those directories
anymore.
This commit covers a few changes:
* The 'portzap pull' command now switches to '$PORTZAP_BRANCH'
if 'git branch --show-current' returns a different branch.
* The 'portzap pull' command fixes permissions and ownership on
'/home/_portzap/ports/.git' before running any git commands. The
owner and permissions can change by interacting with the
git repository directly, as a user other than '_portzap'.
* doas.conf has been changed to be slightly more strict
I haven't decided whether or not only root can do this (leaning towards
not), and we might want to be more flexible and let the user choose to
delete one of the two directories. For now it works.