[arch-commits] Commit in nsd/trunk (PKGBUILD install)
Gaetan Bisson
bisson at nymeria.archlinux.org
Fri Nov 1 23:57:56 UTC 2013
Date: Saturday, November 2, 2013 @ 00:57:56
Author: bisson
Revision: 100220
fix tmpfiles extension
Modified:
nsd/trunk/PKGBUILD
nsd/trunk/install
----------+
PKGBUILD | 2 +-
install | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-11-01 23:55:23 UTC (rev 100219)
+++ PKGBUILD 2013-11-01 23:57:56 UTC (rev 100220)
@@ -35,7 +35,7 @@
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
- install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/nsd
+ install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/nsd.conf
install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/nsd.service
rmdir "${pkgdir}"/{tmp,run/{nsd,}}
Modified: install
===================================================================
--- install 2013-11-01 23:55:23 UTC (rev 100219)
+++ install 2013-11-01 23:57:56 UTC (rev 100220)
@@ -5,6 +5,10 @@
chmod 700 /var/db/nsd
}
+post_upgrade() {
+ usr/bin/systemd-tmpfiles --create nsd.conf || true
+}
+
post_remove() {
getent passwd nsd &>/dev/null && userdel nsd >/dev/null
getent group nsd &>/dev/null && groupdel nsd >/dev/null
More information about the arch-commits
mailing list