diff options
author | ache <ache@FreeBSD.org> | 1995-07-30 01:44:45 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-07-30 01:44:45 +0000 |
commit | 38976345b1c66dbcf2a2429f10343ea33d7a58df (patch) | |
tree | e8a99cae42445cf76c45c227d490494c1ee85532 /usr.sbin/pkg_install/lib/lib.h | |
parent | 438e99a58f566ffa7794ca9aa4e847451eb525df (diff) | |
download | FreeBSD-src-38976345b1c66dbcf2a2429f10343ea33d7a58df.zip FreeBSD-src-38976345b1c66dbcf2a2429f10343ea33d7a58df.tar.gz |
You can run pkg_info everywhere expect /var/db/pkg directory :-)
Running there you got any kind of strange errors from tar caused
by treating directories as tar files!
Fix it by adding new isfile(name) (check for reg. files) to simple fexists(name) calls.
Diffstat (limited to 'usr.sbin/pkg_install/lib/lib.h')
-rw-r--r-- | usr.sbin/pkg_install/lib/lib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/lib/lib.h b/usr.sbin/pkg_install/lib/lib.h index 61be709..4f80cee 100644 --- a/usr.sbin/pkg_install/lib/lib.h +++ b/usr.sbin/pkg_install/lib/lib.h @@ -1,4 +1,4 @@ -/* $Id: lib.h,v 1.15 1995/04/22 13:58:43 jkh Exp $ */ +/* $Id: lib.h,v 1.16 1995/04/26 15:08:22 jkh Exp $ */ /* * FreeBSD install - a package for the installation and maintainance @@ -122,6 +122,7 @@ char *basename_of(char *); /* File */ Boolean fexists(char *); Boolean isdir(char *); +Boolean isfile(char *); Boolean isempty(char *); Boolean isURL(char *); char *fileGetURL(char *); |