summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-12-15 17:30:38 +0300
committerDevaev Maxim <[email protected]>2018-12-15 17:30:38 +0300
commit1e266fbd3fa62ecc6548f93ec17a5f0b02bdef2d (patch)
treeee96e4023a937ca0fc319d6cca18f448e1510142
parent9f38e003cb390067a903a6d1cb8ff236f6858f30 (diff)
fixed configs.default files permissions
-rw-r--r--PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a46bb7c1..ce9a697f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -51,6 +51,8 @@ package() {
cp -r configs "$pkgdir/usr/share/kvmd/configs.default"
sed -i -e "s/^#PROD//g" "$pkgdir/usr/share/kvmd/configs.default/nginx/nginx.conf"
find "$pkgdir" -name ".gitignore" -delete
+ find "$pkgdir/usr/share/kvmd/configs.default" -type f -exec chmod 444 '{}' \;
+ chmod 440 "$pkgdir/usr/share/kvmd/configs.default/kvmd/htpasswd"
mkdir -p "$pkgdir/etc/kvmd"
}