diff options
author | Devaev Maxim <[email protected]> | 2018-12-15 19:11:53 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-12-15 19:11:53 +0300 |
commit | 0d0fdd9b7193577db6e36662365ac1c38ccbc3c7 (patch) | |
tree | 205734962dce8a593c839c91ab4080fb6afd75e2 /PKGBUILD | |
parent | 860a48dd847e6af255bc043f903a3699257ce884 (diff) |
don't install systemd services to configs.default
Diffstat (limited to 'PKGBUILD')
-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 '{}' \; |