Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2/
Date: Wed, 02 Mar 2016 16:03:02
Message-Id: 1456934533.0110740ac2c2723e3e77d71ef39c3bcec8d1a3d8.prometheanfire@gentoo
1 commit: 0110740ac2c2723e3e77d71ef39c3bcec8d1a3d8
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 2 16:02:13 2016 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 2 16:02:13 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0110740a
7
8 www-apps/icingaweb2: switching to portage functions
9
10 Package-Manager: portage-2.2.26
11
12 www-apps/icingaweb2/icingaweb2-2.2.0.ebuild | 6 +++---
13 www-apps/icingaweb2/icingaweb2-9999.ebuild | 6 +++---
14 2 files changed, 6 insertions(+), 6 deletions(-)
15
16 diff --git a/www-apps/icingaweb2/icingaweb2-2.2.0.ebuild b/www-apps/icingaweb2/icingaweb2-2.2.0.ebuild
17 index 81d8276..18d50f3 100644
18 --- a/www-apps/icingaweb2/icingaweb2-2.2.0.ebuild
19 +++ b/www-apps/icingaweb2/icingaweb2-2.2.0.ebuild
20 @@ -54,9 +54,9 @@ pkg_config() {
21 }
22
23 src_install() {
24 - mkdir -p "${D}/usr/share/${PN}"
25 - cp -R "${S}"/* "${D}/usr/share/${PN}"
26 - chmod -R a+rX "${D}/usr/share/${PN}/public"
27 + insinto "/usr/share/${PN}"
28 + doins -r "${S}"/*
29 + fperms -R a+rX "/usr/share/${PN}/public/"
30 }
31
32 pkg_postinst() {
33
34 diff --git a/www-apps/icingaweb2/icingaweb2-9999.ebuild b/www-apps/icingaweb2/icingaweb2-9999.ebuild
35 index 17371c7..d852756 100644
36 --- a/www-apps/icingaweb2/icingaweb2-9999.ebuild
37 +++ b/www-apps/icingaweb2/icingaweb2-9999.ebuild
38 @@ -56,9 +56,9 @@ pkg_config() {
39 }
40
41 src_install() {
42 - mkdir -p "${D}/usr/share/${PN}"
43 - cp -R "${S}"/* "${D}/usr/share/${PN}"
44 - chmod -R a+rX "${D}/usr/share/${PN}/public"
45 + insinto "/usr/share/${PN}"
46 + doins -r "${S}"/*
47 + fperms -R a+rX "/usr/share/${PN}/public/"
48 }
49
50 pkg_postinst() {