From 25caed427c4fbb9d7f5aef7d11aee5332e3842ba Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 6 Oct 2012 11:51:32 +0200 Subject: [PATCH] xbps-triggers: systemd-service: skip running systemd-tmpfiles for systemd.conf from systemd pkg. --- srcpkgs/xbps-triggers/files/systemd-service | 4 ++++ srcpkgs/xbps-triggers/template | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/xbps-triggers/files/systemd-service b/srcpkgs/xbps-triggers/files/systemd-service index 8ccb637e550..45d584e8cc6 100755 --- a/srcpkgs/xbps-triggers/files/systemd-service +++ b/srcpkgs/xbps-triggers/files/systemd-service @@ -123,6 +123,10 @@ _EOF else # Create stuff specified in systemd_tmpfiles files. for f in ${systemd_tmpfiles}; do + if [ "$PKGNAME" = "systemd" -a "$f" = "systemd.conf" ]; then + # This file is only meant to be run at boot-time. + continue + fi systemd-tmpfiles --create ${f} || : done # Load modules specified in systemd_modules files. diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template index 4bb0ad372bd..a9d8f8a8ea0 100644 --- a/srcpkgs/xbps-triggers/template +++ b/srcpkgs/xbps-triggers/template @@ -1,6 +1,6 @@ # Template file for 'xbps-triggers' pkgname=xbps-triggers -version=0.47 +version=0.48 revision=1 short_desc="XBPS triggers" maintainer="Juan RP "