Page MenuHomeFreeBSD

D2364.id5042.diff
No OneTemporary

D2364.id5042.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
Wed, Nov 19, 2:15 AM (7 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25580423
Default Alt Text
D2364.id5042.diff (542 B)

Event Timeline