OpenBSD - check_pkgmirror: fix openbsd mirror

This commit is contained in:
Jérémy Dubois 2023-01-23 16:56:10 +01:00
parent f1074dea2d
commit 29b546584a
2 changed files with 2 additions and 1 deletions

View file

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- check_history: escape $HOME variable
- check_pkgmirror: fix openbsd mirror
## [22.11] - 2022-11-28

View file

@ -194,7 +194,7 @@ check_wheel(){
fi
}
check_pkgmirror(){
grep -qE "^https?://ftp\.evolix\.org/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