forked from mirrors/openup
update
This commit is contained in:
parent
68bb007436
commit
9d9e96357e
1 changed files with 3 additions and 3 deletions
4
openup
4
openup
|
|
@ -234,8 +234,8 @@ fi
|
|||
# regex taken from fw_update(1)
|
||||
set -A _REL -- $(sysctl -n kern.version | sed 's/^OpenBSD \([0-9]\.[0-9]\)\([^ ]*\).*/\1 \2/;q')
|
||||
_REL_INT="$(echo ${_REL[0]} | tr -d '.')"
|
||||
_OPENUP_MINREL=58
|
||||
_OPENUP_VERSION=23
|
||||
_OPENUP_MINREL=59
|
||||
_OPENUP_VERSION=24
|
||||
if [ -n "${_REL[1]}" -a "${_REL[1]}" != "-stable" ]; then _badrel=1; fi
|
||||
if [ "${_REL_INT}" -lt "${_OPENUP_MINREL}" ]; then _badrel=1; fi
|
||||
if [ -n "${_badrel}" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue