1 |
Signed-off-by: Michał Górny <mgorny@g.o> |
2 |
--- |
3 |
eclass/user.eclass | 2 +- |
4 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5 |
|
6 |
diff --git a/eclass/user.eclass b/eclass/user.eclass |
7 |
index e4e2732b11e0..ceb805675cf6 100644 |
8 |
--- a/eclass/user.eclass |
9 |
+++ b/eclass/user.eclass |
10 |
@@ -18,7 +18,7 @@ _USER_ECLASS=1 |
11 |
# @USAGE: <calling func name> |
12 |
_assert_pkg_ebuild_phase() { |
13 |
case ${EBUILD_PHASE} in |
14 |
- setup|preinst|postinst) ;; |
15 |
+ setup|preinst|postinst|prerm|postrm) ;; |
16 |
*) |
17 |
eerror "'$1()' called from '${EBUILD_PHASE}' phase which is not OK:" |
18 |
eerror "You may only call from pkg_{setup,preinst,postinst} functions." |
19 |
-- |
20 |
2.22.0.rc3 |