check_pkgmirror: use our own openbsd mirror
This commit is contained in:
parent
8fd10bfeaf
commit
f7570ec865
|
@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [22.11] - 2022-11-28
|
||||
|
||||
### Changed
|
||||
|
||||
- check_pkgmirror: use our own openbsd mirror
|
||||
|
||||
## [22.10] - 2022-10-14
|
||||
|
||||
### Changed
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# EvoCheck
|
||||
# Script to verify compliance of an OpenBSD server powered by Evolix
|
||||
|
||||
readonly VERSION="22.10"
|
||||
readonly VERSION="22.11"
|
||||
|
||||
# base functions
|
||||
|
||||
|
@ -194,7 +194,7 @@ check_wheel(){
|
|||
fi
|
||||
}
|
||||
check_pkgmirror(){
|
||||
grep -qE "^https://cdn\.openbsd\.org/pub/OpenBSD" /etc/installurl || failed "IS_PKGMIRROR" "Check whether the right repo is present in the /etc/installurl file"
|
||||
grep -qE "^https?://ftp\.evolix\.org/openbsd/" /etc/installurl || failed "IS_PKGMIRROR" "Check whether the right repo is present in the /etc/installurl file"
|
||||
}
|
||||
check_history(){
|
||||
file=/root/.profile
|
||||
|
|
Loading…
Reference in a new issue