Page MenuHomeFreeBSD

D21579.id61863.diff
No OneTemporary

D21579.id61863.diff

Index: usr.sbin/freebsd-update/freebsd-update.sh
===================================================================
--- usr.sbin/freebsd-update/freebsd-update.sh
+++ 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
+config_Components_src () {
+ 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
+ config_Components_src ${COMPONENTS}
}
# Fetch command. Make sure that we're being called

File Metadata

Mime Type
text/plain
Expires
Mon, Feb 9, 10:42 AM (1 m, 39 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28570109
Default Alt Text
D21579.id61863.diff (788 B)

Event Timeline