FreeBSD Bugzilla – Attachment 155952 Details for
Bug 194746
/etc/freebsd-update.conf shouldn't include src as an Component on the Components line
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for freebsd-update
file_194746.txt (text/plain), 532 bytes, created by
Kamil Czekirda
on 2015-04-24 18:04:57 UTC
(
hide
)
Description:
patch for freebsd-update
Filename:
MIME Type:
Creator:
Kamil Czekirda
Created:
2015-04-24 18:04:57 UTC
Size:
532 bytes
patch
obsolete
>--- freebsd-update.sh.old 2015-04-24 19:57:36.783698566 +0200 >+++ freebsd-update.sh 2015-04-24 19:58:57.171694524 +0200 >@@ -216,7 +216,15 @@ > # Add to the list of components which should be kept updated. > config_Components () { > for C in $@; do >- COMPONENTS="${COMPONENTS} ${C}" >+ if [ ! "$C" = "src" ]; then >+ COMPONENTS="${COMPONENTS} ${C}" >+ else >+ if [ "$(ls -A "/usr/src/")" ]; then >+ COMPONENTS="${COMPONENTS} ${C}" >+ else >+ echo "/usr/src/ is empty, skip src component" >+ fi >+ fi > done > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194746
:
155928
|
155929
|
155930
| 155952