diff options
author | Devaev Maxim <[email protected]> | 2019-02-18 08:13:59 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-02-18 08:13:59 +0300 |
commit | 7b5588b8d10bbfcdee88e19d732255cffe73a4fa (patch) | |
tree | 73e00e2945500cbfc57e56d65e1cee60c2b13dfb /PKGBUILD | |
parent | 75443a7116219e278d2ace39f603035e3fd9edbe (diff) |
auth.yaml copy
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -84,8 +84,8 @@ package_kvmd() { for path in "$_cfgdir/kvmd"/*.yaml; do ln -sf "/usr/share/kvmd/configs.default/kvmd/`basename $path`" "$pkgdir/etc/kvmd" done - rm "$pkgdir/etc/kvmd/meta.yaml" - cp "$_cfgdir/kvmd/meta.yaml" "$pkgdir/etc/kvmd" + rm "$pkgdir/etc/kvmd"/{auth.yaml,meta.yaml} + cp "$_cfgdir/kvmd"/{auth.yaml,meta.yaml} "$pkgdir/etc/kvmd" cp -a "$_cfgdir/kvmd/htpasswd" "$pkgdir/etc/kvmd" for path in "$_cfgdir/nginx"/*.conf; do ln -sf "/usr/share/kvmd/configs.default/nginx/`basename $path`" "$pkgdir/etc/kvmd/nginx" @@ -98,7 +98,7 @@ for _platform in $_PLATFORMS; do eval "package_kvmd-platform-$_platform-$_board() { pkgdesc=\"Pi-KVM platform configs - $_platform for $_board\" - mkdir -p \"\$pkgdir/etc/\"{kvmd,sysctl.d,udev/rules.d,modules-load.d} + mkdir -p \"\$pkgdir/etc\"/{kvmd,sysctl.d,udev/rules.d,modules-load.d} _cfgdir=\"/usr/share/kvmd/configs.default\" |