Add 'fbsd_pkg_quarterly_to_latest'
This commit is contained in:
13
fbsd_pkg_quarterly_to_latest
Normal file
13
fbsd_pkg_quarterly_to_latest
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# pkg: Quarterly -> Latest
|
||||||
|
# =========================================================================== #
|
||||||
|
# Switch pkg to latest instead of quarterly branch and bootstrap it
|
||||||
|
|
||||||
|
# csh syntax
|
||||||
|
mkdir -p /usr/local/etc/pkg/repos
|
||||||
|
sed "s/quarterly/latest/" /etc/pkg/FreeBSD.conf > /usr/local/etc/pkg/repos/FreeBSD.conf
|
||||||
|
env ASSUME_ALWAYS_YES=YES pkg update && pkg upgrade
|
||||||
|
|
||||||
|
# sh syntax
|
||||||
|
mkdir -p /usr/local/etc/pkg/repos
|
||||||
|
sed "s/quarterly/latest/" /etc/pkg/FreeBSD.conf > /usr/local/etc/pkg/repos/FreeBSD.conf
|
||||||
|
ASSUME_ALWAYS_YES=YES && pkg update && pkg upgrade
|
||||||
Reference in New Issue
Block a user