From: Michael Haubenwallner Date: Thu, 25 Apr 2019 07:03:53 +0000 (+0200) Subject: prefix/cygwin/profile.bashrc: add pre/post pkg_* hook stubs X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=86decaadd9b5ac47c3915145bf588c34a4c69642;p=gentoo.git prefix/cygwin/profile.bashrc: add pre/post pkg_* hook stubs Signed-off-by: Michael Haubenwallner --- diff --git a/profiles/prefix/windows/cygwin/profile.bashrc b/profiles/prefix/windows/cygwin/profile.bashrc index f016c87b0d4f..dd7e59f331a2 100644 --- a/profiles/prefix/windows/cygwin/profile.bashrc +++ b/profiles/prefix/windows/cygwin/profile.bashrc @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 if [[ ${CATEGORY}/${PN} == app-arch/xz-utils @@ -11,3 +11,27 @@ if [[ ${CATEGORY}/${PN} == app-arch/xz-utils # As xz-utils has no need for -isystem here, we can use -I instead. CPPFLAGS=${CPPFLAGS//-isystem /-I} fi + +post_pkg_preinst() { + cygwin-post_pkg_preinst +} + +pre_pkg_postinst() { + cygwin-pre_pkg_postinst +} + +post_pkg_prerm() { + cygwin-post_pkg_prerm +} + +cygwin-post_pkg_preinst() { + : +} + +cygwin-pre_pkg_postinst() { + : +} + +cygwin-post_pkg_prerm() { + : +}