diff --git a/extra/opendoas/build b/extra/opendoas/build index 2512db86..ad56c468 100755 --- a/extra/opendoas/build +++ b/extra/opendoas/build @@ -12,4 +12,6 @@ sed -i '/chown/d' GNUmakefile make make DESTDIR="$1" install -install -Dm600 doas.conf "$1/etc/doas.conf" +mkdir -p "$1/etc" +cp -f doas.conf "$1/etc" +chmod 600 "$1/etc/doas.conf"