1 |
ssuominen 10/10/28 09:55:53 |
2 |
|
3 |
Modified: bopm-3.1.3.ebuild |
4 |
Log: |
5 |
Fix quoting |
6 |
|
7 |
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.4 net-misc/bopm/bopm-3.1.3.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bopm/bopm-3.1.3.ebuild?rev=1.4&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bopm/bopm-3.1.3.ebuild?rev=1.4&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bopm/bopm-3.1.3.ebuild?r1=1.3&r2=1.4 |
15 |
|
16 |
Index: bopm-3.1.3.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/bopm/bopm-3.1.3.ebuild,v |
19 |
retrieving revision 1.3 |
20 |
retrieving revision 1.4 |
21 |
diff -u -r1.3 -r1.4 |
22 |
--- bopm-3.1.3.ebuild 26 Jun 2010 17:40:03 -0000 1.3 |
23 |
+++ bopm-3.1.3.ebuild 28 Oct 2010 09:55:53 -0000 1.4 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2010 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/bopm/bopm-3.1.3.ebuild,v 1.3 2010/06/26 17:40:03 angelos Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bopm/bopm-3.1.3.ebuild,v 1.4 2010/10/28 09:55:53 ssuominen Exp $ |
29 |
|
30 |
inherit eutils |
31 |
|
32 |
@@ -30,20 +30,20 @@ |
33 |
-e 's!/some/path/scan.log!/var/log/bopm/scan.log!' bopm.conf.sample |
34 |
|
35 |
make \ |
36 |
- DESTDIR=${D} \ |
37 |
- sysconfdir=${D}/etc \ |
38 |
+ DESTDIR="${D}" \ |
39 |
+ sysconfdir="${D}"/etc \ |
40 |
datadir=/usr/share/doc/${PF} \ |
41 |
- localstatedir=${D}/var/log/bopm \ |
42 |
+ localstatedir="${D}"/var/log/bopm \ |
43 |
install || die "install failed" |
44 |
|
45 |
fperms 600 /etc/bopm.conf |
46 |
|
47 |
# Remove libopm related files, because bopm links statically to it |
48 |
# If anybody wants libopm, please install net-libs/libopm |
49 |
- rm -r ${D}/usr/lib ${D}/usr/include |
50 |
+ rm -r "${D}"/usr/lib "${D}"/usr/include |
51 |
|
52 |
- newinitd ${FILESDIR}/bopm.init.d bopm |
53 |
- newconfd ${FILESDIR}/bopm.conf.d bopm |
54 |
+ newinitd "${FILESDIR}"/bopm.init.d bopm |
55 |
+ newconfd "${FILESDIR}"/bopm.conf.d bopm |
56 |
|
57 |
dodoc ChangeLog INSTALL README TODO |
58 |
} |
59 |
@@ -51,7 +51,7 @@ |
60 |
pkg_postinst() { |
61 |
enewuser bopm |
62 |
|
63 |
- install -d -m 0700 -o bopm -g root ${ROOT}/var/log/bopm |
64 |
- install -d -m 0700 -o bopm -g root ${ROOT}/var/run/bopm |
65 |
- chown bopm ${ROOT}/etc/bopm.conf |
66 |
+ install -d -m 0700 -o bopm -g root "${ROOT}"/var/log/bopm |
67 |
+ install -d -m 0700 -o bopm -g root "${ROOT}"/var/run/bopm |
68 |
+ chown bopm "${ROOT}"/etc/bopm.conf |
69 |
} |