diff options
author | Devaev Maxim <[email protected]> | 2018-12-15 17:30:38 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-12-15 17:30:38 +0300 |
commit | 1e266fbd3fa62ecc6548f93ec17a5f0b02bdef2d (patch) | |
tree | ee96e4023a937ca0fc319d6cca18f448e1510142 /PKGBUILD | |
parent | 9f38e003cb390067a903a6d1cb8ff236f6858f30 (diff) |
fixed configs.default files permissions
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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" } |