Page MenuHomeFreeBSD

D21579.diff
No OneTemporary

D21579.diff

Index: head/usr.sbin/freebsd-update/freebsd-update.sh
===================================================================
--- head/usr.sbin/freebsd-update/freebsd-update.sh
+++ head/usr.sbin/freebsd-update/freebsd-update.sh
@@ -221,6 +221,14 @@
# Add to the list of components which should be kept updated.
config_Components () {
for C in $@; do
+ COMPONENTS="${COMPONENTS} ${C}"
+ done
+}
+
+# Remove src component from list if it isn't installed
+finalize_components_config () {
+ COMPONENTS=""
+ for C in $@; do
if [ "$C" = "src" ]; then
if [ -e "${BASEDIR}/usr/src/COPYRIGHT" ]; then
COMPONENTS="${COMPONENTS} ${C}"
@@ -3284,6 +3292,7 @@
parse_cmdline $@
parse_conffile
default_params
+ finalize_components_config ${COMPONENTS}
}
# Fetch command. Make sure that we're being called

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 20, 9:11 AM (16 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25718317
Default Alt Text
D21579.diff (813 B)

Event Timeline