diff options
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,13 +42,13 @@ package() { python setup.py install --root="$pkgdir" mkdir -p "$pkgdir/usr/lib/systemd/system" - install -Dm644 configs/systemd/kvmd.service "$pkgdir/usr/lib/systemd/system/kvmd.service" - install -Dm644 configs/systemd/kvmd-tc358743.service "$pkgdir/usr/lib/systemd/system/kvmd-tc358743.service" + cp configs/systemd/*.service "$pkgdir/usr/lib/systemd/system" mkdir -p "$pkgdir/usr/share/kvmd" cp -r web "$pkgdir/usr/share/kvmd" cp -r extras "$pkgdir/usr/share/kvmd" cp -r configs "$pkgdir/usr/share/kvmd/configs.default" + rm -rf "$pkgdir/usr/share/kvmd/configs.default/systemd" 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 '{}' \; |