Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177586779
D18916.1794802758.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D18916.1794802758.diff
View Options
Index: usr.sbin/freebsd-update/freebsd-update.sh
===================================================================
--- usr.sbin/freebsd-update/freebsd-update.sh
+++ usr.sbin/freebsd-update/freebsd-update.sh
@@ -670,33 +670,33 @@
# Disallow upgrade from a version that is not a release
case ${RELNUM} in
- *-RELEASE | *-ALPHA* | *-BETA* | *-RC*)
- ;;
- *)
- echo -n "`basename $0`: "
- cat <<- EOF
- Cannot upgrade from a version that is not a release
- (including alpha, beta and release candidates)
- using `basename $0`. Instead, FreeBSD can be directly
- upgraded by source or upgraded to a RELEASE/RELENG version
- prior to running `basename $0`.
- Currently running: ${RELNUM}
- EOF
- exit 1
- ;;
+ *-RELEASE | *-ALPHA* | *-BETA* | *-RC*)
+ ;;
+ *)
+ echo -n "`basename $0`: "
+ cat <<- EOF
+ Cannot upgrade from a version that is not a release
+ (including alpha, beta and release candidates)
+ using `basename $0`. Instead, FreeBSD can be directly
+ upgraded by source or upgraded to a RELEASE/RELENG version
+ prior to running `basename $0`.
+ Currently running: ${RELNUM}
+ EOF
+ exit 1
+ ;;
esac
case ${ARCH} in
- i386 | amd64)
- ;;
- *)
- echo -n "`basename $0:`"
- cat <<- EOF
- Upgrading from '${ARCH}' is unsupported by `basename $0`.
- Instead, FreeBSD can be directly upgraded by source.
- EOF
- exit 1
- ;;
+ i386 | amd64)
+ ;;
+ *)
+ echo -n "`basename $0`: "
+ cat <<- EOF
+ Upgrading from a '${ARCH}' system is unsupported by `basename $0`.
+ Instead, FreeBSD can be directly upgraded by source.
+ EOF
+ exit 1
+ ;;
esac
# Figure out what directory contains the running kernel
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 16, 4:19 AM (23 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41759713
Default Alt Text
D18916.1794802758.diff (1 KB)
Attached To
Mode
D18916: Clarify unsupported architecture upgrade message
Attached
Detach File
Event Timeline