diff options
author | jkh <jkh@FreeBSD.org> | 1997-10-18 05:42:05 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-10-18 05:42:05 +0000 |
commit | 835fbd1d3aba06858f975edde71c178ae29b1f4d (patch) | |
tree | f3a68de2cc69f16b0ca95a83546fec4d1583be0a /usr.sbin/pkg_install | |
parent | ddbef49e260a4f08195d37a5729f17048f620936 (diff) | |
download | FreeBSD-src-835fbd1d3aba06858f975edde71c178ae29b1f4d.zip FreeBSD-src-835fbd1d3aba06858f975edde71c178ae29b1f4d.tar.gz |
Deal with PLIST_UNEXEC properly.
PR: 4784
Submitted by: Stefan `Sec` Zehl <sec@quit.42.org>
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r-- | usr.sbin/pkg_install/info/show.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/info/show.c b/usr.sbin/pkg_install/info/show.c index 57ed4e8..9c00a7e 100644 --- a/usr.sbin/pkg_install/info/show.c +++ b/usr.sbin/pkg_install/info/show.c @@ -1,6 +1,6 @@ #ifndef lint static const char rcsid[] = - "$Id: show.c,v 1.10 1997/02/22 16:09:43 peter Exp $"; + "$Id: show.c,v 1.11 1997/10/08 07:47:38 charnier Exp $"; #endif /* @@ -105,6 +105,10 @@ show_plist(char *title, Package *plist, plist_t type) printf(Quiet ? "@exec %s\n" : "\tEXEC '%s'\n", p->name); break; + case PLIST_UNEXEC: + printf(Quiet ? "@unexec %s\n" : "\tUNEXEC '%s'\n", p->name); + break; + case PLIST_CHMOD: printf(Quiet ? "@chmod %s\n" : "\tCHMOD to %s\n", p->name ? p->name : "(clear default)"); |