summaryrefslogtreecommitdiff
path: root/mk/pkginstall/deinstall-pre
diff options
context:
space:
mode:
Diffstat (limited to 'mk/pkginstall/deinstall-pre')
-rw-r--r--mk/pkginstall/deinstall-pre15
1 files changed, 0 insertions, 15 deletions
diff --git a/mk/pkginstall/deinstall-pre b/mk/pkginstall/deinstall-pre
deleted file mode 100644
index 679374c7e13..00000000000
--- a/mk/pkginstall/deinstall-pre
+++ /dev/null
@@ -1,15 +0,0 @@
-# $NetBSD: deinstall-pre,v 1.1 2006/05/21 23:50:15 jlam Exp $
-
-# Ensure that the VIEW-DEINSTALL action is called for overwrite packages.
-# This is here to ensure that it's the first DEINSTALL action (before
-# any DEINSTALL_TEMPLATE DEINSTALL actions).
-#
-case ${STAGE} in
-DEINSTALL)
- if [ "${PKG_INSTALLATION_TYPE}" = "overwrite" ]; then
- ${SETENV} PKG_PREFIX="${PKG_PREFIX}" \
- $0 ${PKGNAME} VIEW-DEINSTALL
- fi
- ;;
-esac
-