Page MenuHomeFreeBSD

D2364.diff
No OneTemporary

D2364.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, Mar 4, 4:44 PM (3 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29223022
Default Alt Text
D2364.diff (542 B)

Event Timeline