Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ad470a30be7d029fbfd7eebab05111836abade31

commit ad470a30be7d029fbfd7eebab05111836abade31
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Wed Feb 9 20:11:43 2011 +0100

acpid-2.0.7-3-i686

- create systemd dir in case it's missing

diff --git a/source/base/acpid/FrugalBuild b/source/base/acpid/FrugalBuild
index a541907..2e1c6ff 100644
--- a/source/base/acpid/FrugalBuild
+++ b/source/base/acpid/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=acpid
pkgver=2.0.7
-pkgrel=2
+pkgrel=3
pkgdesc="Utilities for using ACPI power management"
depends=('glibc>=2.8-3')
backup=(etc/acpi/acpi_handler.sh)
diff --git a/source/base/acpid/acpid.install b/source/base/acpid/acpid.install
index 234fe40..bcd6171 100644
--- a/source/base/acpid/acpid.install
+++ b/source/base/acpid/acpid.install
@@ -1,6 +1,7 @@
post_install()
{
chkconfig --add rc.acpid
+       mkdir -p /etc/systemd/system/multi-user.target.wants
ln -sf '/lib/systemd/system/acpid.service' 
'/etc/systemd/system/multi-user.target.wants/acpid.service'
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to