Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
auto-using-pkgbase(8)	     System Manager's Manual	   auto-using-pkgbase(8)

NAME
     auto-using-pkgbase - Basic description here

SYNOPSIS
     if auto-using-pkgbase; then
	 command
     fi

ARGUMENTS
     None

DESCRIPTION
     The  auto-using-pkgbase script exits with 0 status (success) if the FreeBSD
     system on which it is run is using pkgbase to  maintain  the  base  system,
     rather  than  the	traditional  base  sets maintained by freebsd-update(8).
     This is checked using `pkg repositories  --enabled  |  grep  FreeBSD-base`.
     This script does not apply to other operating systems, as pkgbase is unique
     to FreeBSD.

RETURN VALUES
     0 if pkgbase is in use, non-zero otherwise

EXAMPLES
     if ! auto-using-pkgbase; then
	 freebsd-update fetch install
     fi

FILES
     /etc/pkg/FreeBSD.conf, /usr/local/etc/pkg/repos

SEE ALSO
     pkg-repositories(8), freebsd-update(8)

							   auto-using-pkgbase(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=auto-using-pkgbase&sektion=8&manpath=FreeBSD+Ports+15.1.quarterly>

home | help