Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/pkgviews]: src/usr.sbin/pkg_install/view Make error messages slightly mo...



details:   https://anonhg.NetBSD.org/src/rev/e15cc5f3135c
branches:  pkgviews
changeset: 534260:e15cc5f3135c
user:      jlam <jlam%NetBSD.org@localhost>
date:      Thu Aug 21 09:14:14 2003 +0000

description:
Make error messages slightly more informative.

diffstat:

 usr.sbin/pkg_install/view/pkg_view.sh |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r a134c1e39cc2 -r e15cc5f3135c usr.sbin/pkg_install/view/pkg_view.sh
--- a/usr.sbin/pkg_install/view/pkg_view.sh     Thu Aug 21 03:07:55 2003 +0000
+++ b/usr.sbin/pkg_install/view/pkg_view.sh     Thu Aug 21 09:14:14 2003 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: pkg_view.sh,v 1.1.2.24 2003/08/21 02:48:31 jlam Exp $
+# $NetBSD: pkg_view.sh,v 1.1.2.25 2003/08/21 09:14:14 jlam Exp $
 
 #
 # Copyright (c) 2001 Alistair G. Crooks.  All rights reserved.
@@ -138,7 +138,7 @@
                        echo "Package $1 already exists in $viewstr."
                else
                        if [ "${verbose}" = "yes" ]; then
-                               echo "Adding package $1 to $viewstr in ${viewbase}."
+                               echo "Adding package $1 to ${targetdir}."
                        fi
                        checkpkg $1 ${depot_pkg_dbdir}
                        dbs=`(cd ${depot_pkg_dbdir}/$1; echo +*)`
@@ -168,7 +168,7 @@
                ;;
        check)
                if [ "${verbose}" = "yes" ]; then
-                       echo "Checking package $1 in $viewstr in ${viewbase}."
+                       echo "Checking package $1 in ${targetdir}."
                fi
                checkpkg $1 ${depot_pkg_dbdir}
                $linkfarmprog -c --target=${targetdir} --dir=${depot_pkg_dbdir} $1
@@ -179,7 +179,7 @@
                        echo "Package $1 does not exist in $viewstr."
                else
                        if [ "${verbose}" = "yes" ]; then
-                               echo "Deleting package $1 from $viewstr in ${viewbase}."
+                               echo "Deleting package $1 from ${targetdir}."
                        fi
                        if [ -f ${pkg_dbdir}/$1/+REQUIRED_BY ]; then
                                if $cmpprog -s ${pkg_dbdir}/$1/+REQUIRED_BY /dev/null; then



Home | Main Index | Thread Index | Old Index