diff options
author | Michael Weber <xmw@gentoo.org> | 2012-07-20 08:11:19 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2012-07-20 08:11:19 +0000 |
commit | ed364db7beeb42f5bb705c3cb1e0bc1d924fe8aa (patch) | |
tree | 5b3f0f37ada7ab79d02d80dde4ce2163454bec2c /net-misc/minidlna | |
parent | Revbump adding minidlna user/group, adding /var/lib/minidlna and /var/log/min... (diff) | |
download | gentoo-2-ed364db7beeb42f5bb705c3cb1e0bc1d924fe8aa.tar.gz gentoo-2-ed364db7beeb42f5bb705c3cb1e0bc1d924fe8aa.tar.bz2 gentoo-2-ed364db7beeb42f5bb705c3cb1e0bc1d924fe8aa.zip |
fix directory test
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/minidlna')
-rw-r--r-- | net-misc/minidlna/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/minidlna/minidlna-1.0.25-r1.ebuild | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/net-misc/minidlna/ChangeLog b/net-misc/minidlna/ChangeLog index cc424c931c7a..18229d7cd521 100644 --- a/net-misc/minidlna/ChangeLog +++ b/net-misc/minidlna/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/minidlna # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/minidlna/ChangeLog,v 1.20 2012/07/20 08:08:33 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/minidlna/ChangeLog,v 1.21 2012/07/20 08:11:19 xmw Exp $ + + 20 Jul 2012; Michael Weber <xmw@gentoo.org> minidlna-1.0.25-r1.ebuild: + fix directory test *minidlna-1.0.25-r1 (20 Jul 2012) diff --git a/net-misc/minidlna/minidlna-1.0.25-r1.ebuild b/net-misc/minidlna/minidlna-1.0.25-r1.ebuild index 03a65cae82c8..94288421abfc 100644 --- a/net-misc/minidlna/minidlna-1.0.25-r1.ebuild +++ b/net-misc/minidlna/minidlna-1.0.25-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/minidlna/minidlna-1.0.25-r1.ebuild,v 1.1 2012/07/20 08:08:33 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/minidlna/minidlna-1.0.25-r1.ebuild,v 1.2 2012/07/20 08:11:19 xmw Exp $ EAPI=4 @@ -28,10 +28,10 @@ DEPEND="${RDEPEND} pkg_setup() { locale my_is_new=yes - [ -e "${EPREFIX}"/var/lib/${PN} ] && my_is_new="" + [ -d "${EPREFIX}"/var/lib/${PN} ] && my_is_new="" enewgroup ${PN} enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} - if [ -n ${my_is_new} ] ; then + if [ -n "${my_is_new}" ] ; then chown ${PN}:${PN} /var/lib/${PN} || die chmod 0750 /var/lib/${PN} || die fi |