summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_add/pkg_delete.1
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2007-05-31 11:05:41 +0000
committerespie <espie@openbsd.org>2007-05-31 11:05:41 +0000
commit25d7e1c4100875058f6a6a1a26289c9f7bf1f836 (patch)
tree319fc95e3c2db62166f5aefd9e2342bcda624c4f /usr.sbin/pkg_add/pkg_delete.1
parentSynchronize with reality. (diff)
downloadwireguard-openbsd-25d7e1c4100875058f6a6a1a26289c9f7bf1f836.tar.xz
wireguard-openbsd-25d7e1c4100875058f6a6a1a26289c9f7bf1f836.zip
kill REQ script directly. I'm pretty sure it doesn't quite work anyways.
Deprecate INSTALL and DEINSTALL, write out warnings in pkg_create. Clean up some more old cruft
Diffstat (limited to 'usr.sbin/pkg_add/pkg_delete.1')
-rw-r--r--usr.sbin/pkg_add/pkg_delete.123
1 files changed, 1 insertions, 22 deletions
diff --git a/usr.sbin/pkg_add/pkg_delete.1 b/usr.sbin/pkg_add/pkg_delete.1
index 416302577a2..62d128825ca 100644
--- a/usr.sbin/pkg_add/pkg_delete.1
+++ b/usr.sbin/pkg_add/pkg_delete.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_delete.1,v 1.22 2007/04/15 10:17:29 espie Exp $
+.\" $OpenBSD: pkg_delete.1,v 1.23 2007/05/31 11:05:41 espie Exp $
.\"
.\" Documentation and design originally from FreeBSD. All the code has
.\" been rewritten since. We keep the documentation's notice:
@@ -114,27 +114,6 @@ the list of packages to remove,
.Nm
will list those dependent packages and refuse to delete the package.
.Pp
-If the package contains a
-.Ar require
-file (see
-.Xr pkg_create 1 ) ,
-then this is executed first as
-.Bd -filled -offset indent
-.Cm require
-.Ar <pkg-name>
-.Ar DEINSTALL
-.Ed
-.Pp
-(where
-.Ar pkgname
-is the name of the package in question and
-.Ar DEINSTALL
-is a keyword denoting that this is a deinstallation)
-to see whether or not deinstallation should continue.
-A non-zero exit status means no, unless the
-.Fl f
-option is specified.
-.Pp
If a
.Cm deinstall
script exists for the package, it is executed before any files are removed.