Don't prevent users from using more than just the default view. Let's let
them try to use one of the good points of pkgviews right away.
This commit is contained in:
parent
b3a911d206
commit
f7ddad56af
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: pkg_view.1,v 1.3 2003/09/02 07:42:08 wiz Exp $
|
||||
.\" $NetBSD: pkg_view.1,v 1.4 2003/09/03 12:45:25 jlam Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2003 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
|
@ -265,5 +265,3 @@ The
|
|||
.Nm
|
||||
utility was written by
|
||||
.An Alistair G. Crooks Aq agc@netbsd.org .
|
||||
.Sh BUGS
|
||||
Only the empty view is supported.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
|
||||
# $NetBSD: pkg_view.sh,v 1.2 2003/09/02 07:35:08 jlam Exp $
|
||||
# $NetBSD: pkg_view.sh,v 1.3 2003/09/03 12:45:25 jlam Exp $
|
||||
|
||||
#
|
||||
# Copyright (c) 2001 Alistair G. Crooks. All rights reserved.
|
||||
|
@ -121,14 +121,6 @@ delete|rm) action=delete ;;
|
|||
esac
|
||||
shift
|
||||
|
||||
# XXX Only support the standard view for now.
|
||||
case "$view" in
|
||||
"") ;;
|
||||
*) echo "pkg_view: only the standard view is supported" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# if standard view, put package info into ${dflt_pkg_dbdir}
|
||||
# if not standard view, put package info into view's pkgdb
|
||||
case "$view" in
|
||||
|
|
Loading…
Reference in New Issue