Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131957377
D2364.id5041.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
616 B
Referenced Files
None
Subscribers
None
D2364.id5041.diff
View Options
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
@@ -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
+ if [ -e /usr/src/COPYRIGHT ]; then
+ COMPONENTS="${COMPONENTS} ${C}"
+ else
+ echo "src component not installed, skiped"
+ fi
+ else
+ COMPONENTS="${COMPONENTS} ${C}"
+ fi
done
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 13, 12:21 PM (21 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23674907
Default Alt Text
D2364.id5041.diff (616 B)
Attached To
Mode
D2364: freebsd-update src component skip if not installed
Attached
Detach File
Event Timeline
Log In to Comment