evocheck: upstream release 22.11

This commit is contained in:
Jérémy Dubois 2022-11-28 14:55:14 +01:00
parent 4ace413343
commit f43094e7b5
1 changed files with 2 additions and 2 deletions

View File

@ -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