Skip to content

Commit 849c0eb

Browse files
cndghmbsdimp
authored andcommitted
Comments: FreeBSD.conf should not be overwritten
The files /usr/sbin/pkg/FreeBSD.conf.* currently set base repo to {enable: no}. We don't want to overwrite /local/etc/pkg/repos/FreeBSD.conf that already exists when users choose tech preview in the installation. Signed-off-by: Guilherme Augusto de Souza Candinho <[email protected]> Reviewed by: imp Pull Request: #1925
1 parent 17ba6f4 commit 849c0eb

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

usr.sbin/pkg/FreeBSD.conf.latest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#
22
# To disable a repository, instead of modifying or removing this file,
3-
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file, e.g.:
3+
# create or edit /usr/local/etc/pkg/repos/FreeBSD.conf, e.g.:
44
#
55
# mkdir -p /usr/local/etc/pkg/repos
6-
# echo "FreeBSD-ports: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
6+
# echo "FreeBSD-ports: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
77
# echo "FreeBSD-ports-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
88
#
99
# Note that the FreeBSD-base repository is disabled by default.

usr.sbin/pkg/FreeBSD.conf.quarterly

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
12
#
23
# To disable a repository, instead of modifying or removing this file,
3-
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file, e.g.:
4+
# create or edit /usr/local/etc/pkg/repos/FreeBSD.conf, e.g.:
45
#
56
# mkdir -p /usr/local/etc/pkg/repos
6-
# echo "FreeBSD-ports: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
7+
# echo "FreeBSD-ports: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
78
# echo "FreeBSD-ports-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
89
#
910
# Note that the FreeBSD-base repository is disabled by default.

usr.sbin/pkg/FreeBSD.conf.quarterly-release

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#
22
# To disable a repository, instead of modifying or removing this file,
3-
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file, e.g.:
3+
# create or edit /usr/local/etc/pkg/repos/FreeBSD.conf, e.g.:
44
#
55
# mkdir -p /usr/local/etc/pkg/repos
6-
# echo "FreeBSD-ports: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
6+
# echo "FreeBSD-ports: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
77
# echo "FreeBSD-ports-kmods: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf
88
#
99
# Note that the FreeBSD-base repository is disabled by default.

0 commit comments

Comments
 (0)