Skip to content

Commit

Permalink
www-apps/icingaweb2: switching to portage functions
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.26
  • Loading branch information
prometheanfire committed Mar 2, 2016
1 parent f1149df commit 0110740
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions www-apps/icingaweb2/icingaweb2-2.2.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ pkg_config() {
}

src_install() {
mkdir -p "${D}/usr/share/${PN}"
cp -R "${S}"/* "${D}/usr/share/${PN}"
chmod -R a+rX "${D}/usr/share/${PN}/public"
insinto "/usr/share/${PN}"
doins -r "${S}"/*
fperms -R a+rX "/usr/share/${PN}/public/"
}

pkg_postinst() {
Expand Down
6 changes: 3 additions & 3 deletions www-apps/icingaweb2/icingaweb2-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ pkg_config() {
}

src_install() {
mkdir -p "${D}/usr/share/${PN}"
cp -R "${S}"/* "${D}/usr/share/${PN}"
chmod -R a+rX "${D}/usr/share/${PN}/public"
insinto "/usr/share/${PN}"
doins -r "${S}"/*
fperms -R a+rX "/usr/share/${PN}/public/"
}

pkg_postinst() {
Expand Down

0 comments on commit 0110740

Please sign in to comment.