Page MenuHomeFreeBSD

D2364.1796117407.diff
No OneTemporary

Authored By
Unknown
Size
542 B
Referenced Files
None
Subscribers
None

D2364.1796117407.diff

Index: freebsd-update.sh.src
===================================================================
--- freebsd-update.sh.src
+++ freebsd-update.sh.src
@@ -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, skipped"
+ fi
+ else
+ COMPONENTS="${COMPONENTS} ${C}"
+ fi
done
}

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 1, 9:30 AM (4 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42122523
Default Alt Text
D2364.1796117407.diff (542 B)

Event Timeline