From 35437dcab4d965833dae5d9f81b9259fe8f14df0 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 1 Jul 2021 16:32:29 +0000 Subject: [PATCH] opendoas: remove usage of install --- extra/opendoas/build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"