aboutsummaryrefslogtreecommitdiff
path: root/ebuild/pkg_postrm.bash
diff options
context:
space:
mode:
Diffstat (limited to 'ebuild/pkg_postrm.bash')
-rw-r--r--ebuild/pkg_postrm.bash15
1 files changed, 15 insertions, 0 deletions
diff --git a/ebuild/pkg_postrm.bash b/ebuild/pkg_postrm.bash
index 8190200..c0d8f3f 100644
--- a/ebuild/pkg_postrm.bash
+++ b/ebuild/pkg_postrm.bash
@@ -23,5 +23,20 @@
pkg_postrm()
{
+ :
}
+ebuild_f_postrm()
+{
+ if hasq "postrm" ${RESTRICT} ; then
+ ebuild_section "Skipping pkg_postrm (RESTRICT)"
+ elif hasq "postrm" ${SKIP_FUNCTIONS} ; then
+ ebuild_section "Skipping pkg_postrm (SKIP_FUNCTIONS)"
+ else
+ ebuild_section "Starting pkg_postrm"
+ pkg_postrm
+ ebuild_section "Done pkg_postrm"
+ fi
+}
+
+