diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-09-24 22:38:38 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-09-24 22:38:38 +0000 |
commit | 471980d10ee1d1dccfc951ec91c2ffdb19741d2b (patch) | |
tree | f6f130e039dfd78086e815975253b00078eea179 /sys-power/apcupsd | |
parent | Remove old that is no longer needed (0.9.15-r2 is getting stable instead). (diff) | |
download | gentoo-2-471980d10ee1d1dccfc951ec91c2ffdb19741d2b.tar.gz gentoo-2-471980d10ee1d1dccfc951ec91c2ffdb19741d2b.tar.bz2 gentoo-2-471980d10ee1d1dccfc951ec91c2ffdb19741d2b.zip |
Create /var/lock if it's not present already.
(Portage version: 2.2_rc41/cvs/Linux x86_64)
Diffstat (limited to 'sys-power/apcupsd')
-rw-r--r-- | sys-power/apcupsd/ChangeLog | 6 | ||||
-rw-r--r-- | sys-power/apcupsd/apcupsd-3.14.7.ebuild | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/sys-power/apcupsd/ChangeLog b/sys-power/apcupsd/ChangeLog index 9beaa88825af..a0c1c395e066 100644 --- a/sys-power/apcupsd/ChangeLog +++ b/sys-power/apcupsd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-power/apcupsd # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/apcupsd/ChangeLog,v 1.55 2009/08/31 14:16:28 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/apcupsd/ChangeLog,v 1.56 2009/09/24 22:38:38 flameeyes Exp $ + + 24 Sep 2009; Diego E. Pettenò <flameeyes@gentoo.org> + apcupsd-3.14.7.ebuild: + Create /var/lock if it's not present already. 31 Aug 2009; Christian Faulhammer <fauli@gentoo.org> apcupsd-3.14.6.ebuild: diff --git a/sys-power/apcupsd/apcupsd-3.14.7.ebuild b/sys-power/apcupsd/apcupsd-3.14.7.ebuild index 541860f61ca0..ca9862016010 100644 --- a/sys-power/apcupsd/apcupsd-3.14.7.ebuild +++ b/sys-power/apcupsd/apcupsd-3.14.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/apcupsd/apcupsd-3.14.7.ebuild,v 1.2 2009/08/08 14:11:29 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/apcupsd/apcupsd-3.14.7.ebuild,v 1.3 2009/09/24 22:38:38 flameeyes Exp $ WEBAPP_MANUAL_SLOT="yes" WEBAPP_OPTIONAL="yes" @@ -96,6 +96,12 @@ src_install() { if has_version sys-apps/openrc; then newinitd "${FILESDIR}/${PN}.powerfail.init" "${PN}".powerfail || die "newinitd failed" fi + + # Without this it'll crash at startup. When merging in ROOT= this + # won't be created by default, so we want to make sure we got it! + keepdir /var/lock + fowners root:uucp /var/lock + fperms 0775 /var/lock } pkg_postinst() { |