summaryrefslogtreecommitdiff
path: root/mk/install/install-info
diff options
context:
space:
mode:
Diffstat (limited to 'mk/install/install-info')
-rw-r--r--mk/install/install-info4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/install/install-info b/mk/install/install-info
index dca9f475bf1..bb3dc2e1c03 100644
--- a/mk/install/install-info
+++ b/mk/install/install-info
@@ -8,7 +8,7 @@ INSTALL_INFO="@INSTALL_INFO@"
INFO_DIR="@INFO_DIR@"
case ${STAGE} in
-POST-INSTALL)
+VIEW-INSTALL)
if [ -f ${PKG_PREFIX}/${INFO_DIR}/dir ]; then
_nentries="`${GREP} -c '^\*' ${PKG_PREFIX}/${INFO_DIR}/dir 2>/dev/null`"
if [ x"${_nentries}" != x -a "${_nentries}" -lt 1 ]; then
@@ -23,7 +23,7 @@ POST-INSTALL)
${PKG_PREFIX}/${INFO_DIR}/${f}
done
;;
-DEINSTALL)
+VIEW-DEINSTALL)
for f in ${INFO_FILES}; do
${INSTALL_INFO} --delete --info-dir=${PKG_PREFIX}/${INFO_DIR} \
${PKG_PREFIX}/${INFO_DIR}/${f} 1>/dev/null 2>&1