summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2f62cb72..7c17dec2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 '{}' \;