prefix/cygwin/profile.bashrc: add pre/post pkg_* hook stubs
authorMichael Haubenwallner <haubi@gentoo.org>
Thu, 25 Apr 2019 07:03:53 +0000 (09:03 +0200)
committerMichael Haubenwallner <haubi@gentoo.org>
Tue, 7 May 2019 08:05:52 +0000 (10:05 +0200)
Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
profiles/prefix/windows/cygwin/profile.bashrc

index f016c87b0d4f85fb03850bbbbd053a7decab2bf6..dd7e59f331a2c2cafc9cdbc7f7835d4f7d7f12b1 100644 (file)
@@ -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() {
+       :
+}