summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2019-04-25 09:03:53 +0200
committerMichael Haubenwallner <haubi@gentoo.org>2019-05-07 10:05:52 +0200
commit86decaadd9b5ac47c3915145bf588c34a4c69642 (patch)
treea5935430055fb60788f788f7691bf677a339e55d /profiles/prefix/windows
parentprofiles/prefix/cygwin/packages: add *app-admin/cygwin-rebase (diff)
downloadgentoo-86decaadd9b5ac47c3915145bf588c34a4c69642.tar.gz
gentoo-86decaadd9b5ac47c3915145bf588c34a4c69642.tar.bz2
gentoo-86decaadd9b5ac47c3915145bf588c34a4c69642.zip
prefix/cygwin/profile.bashrc: add pre/post pkg_* hook stubs
Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
Diffstat (limited to 'profiles/prefix/windows')
-rw-r--r--profiles/prefix/windows/cygwin/profile.bashrc26
1 files changed, 25 insertions, 1 deletions
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() {
+ :
+}