Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=6f4be63c6c3ded3712f5bfec2a634b1d145d0242
commit 6f4be63c6c3ded3712f5bfec2a634b1d145d0242 Author: Miklos Vajna <vmik...@frugalware.org> Date: Sat Mar 5 16:36:27 2011 +0100 acpid-2.0.8-2-i686 - depend on systemd for service file handling in install scriptlet diff --git a/source/base/acpid/FrugalBuild b/source/base/acpid/FrugalBuild index 8b154a8..fd63bdc 100644 --- a/source/base/acpid/FrugalBuild +++ b/source/base/acpid/FrugalBuild @@ -3,9 +3,10 @@ pkgname=acpid pkgver=2.0.8 -pkgrel=1 +pkgrel=2 pkgdesc="Utilities for using ACPI power management" depends=('glibc>=2.8-3') +rodepends=('systemd') backup=(etc/acpi/acpi_handler.sh) groups=('base') archs=('i686' 'x86_64' 'ppc') diff --git a/source/base/acpid/acpid.install b/source/base/acpid/acpid.install index bcd6171..a4e651d 100644 --- a/source/base/acpid/acpid.install +++ b/source/base/acpid/acpid.install @@ -1,8 +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' + systemctl enable acpid.service >/dev/null 2>&1 } post_upgrade() @@ -18,7 +17,7 @@ post_upgrade() pre_remove() { chkconfig --del rc.acpid - rm -f '/etc/systemd/system/multi-user.target.wants/acpid.service' + systemctl --no-reload disable acpid.service >/dev/null 2>&1 systemctl stop acpid.service >/dev/null 2>&1 } _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git