xbps-triggers: systemd-service: skip running systemd-tmpfiles for systemd.conf from systemd pkg.

This commit is contained in:
Juan RP 2012-10-06 11:51:32 +02:00
parent 4303b00902
commit 25caed427c
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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 <xtraeme@gmail.com>"