HomeFreeBSD

ports-mgmt/synth: Fix potential installation problem

Description

ports-mgmt/synth: Fix potential installation problem

On DragonFly, $LOCALBASE/etc/pkg/repos always exists, so I forgot to
verify that. On FreeBSD, it doesn't necessarily. Make sure to create
this path if it's missing before trying to write 00_synth.conf there.
While here, add an error message if it still fails for any reason.

Details

Provenance
marinoAuthored on
Parents
rP405811: New port: devel/py-debtcollector
Branches
Unknown
Tags
Unknown