diff options
author | Devaev Maxim <[email protected]> | 2019-04-28 09:23:30 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-04-28 09:23:30 +0300 |
commit | 0fd43c2a8cff3d55d83eb9c76ea12eae7cc3f819 (patch) | |
tree | ca84c860c95b30ef480b5b5a75160871f117be8f /PKGBUILD | |
parent | bffc3e13e8e61a5d8c580a1558287735ece09929 (diff) |
fixed build
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -79,7 +79,7 @@ package_kvmd() { find "$pkgdir" -name ".gitignore" -delete sed -i -e "s/^#PROD//g" "$_cfgdir/nginx/nginx.conf" find "$_cfgdir" -type f -exec chmod 444 '{}' \; - chmod 440 "$_cfgdir/kvmd/*passwd" + chmod 440 "$_cfgdir/kvmd"/*passwd mkdir -p "$pkgdir/etc/kvmd/nginx/ssl" chmod 750 "$pkgdir/etc/kvmd/nginx/ssl" @@ -88,7 +88,7 @@ package_kvmd() { done rm "$pkgdir/etc/kvmd"/{auth.yaml,meta.yaml} cp "$_cfgdir/kvmd"/{auth.yaml,meta.yaml} "$pkgdir/etc/kvmd" - cp -a "$_cfgdir/kvmd/*passwd" "$pkgdir/etc/kvmd" + cp -a "$_cfgdir/kvmd/"*passwd "$pkgdir/etc/kvmd" for path in "$_cfgdir/nginx"/*.conf; do ln -sf "/usr/share/kvmd/configs.default/nginx/`basename $path`" "$pkgdir/etc/kvmd/nginx" done |