port to package-installed-check

This commit is contained in:
Patrick Schleizer 2025-11-14 00:44:50 -05:00
parent abf5852eba
commit efa06a1eae
No known key found for this signature in database
GPG key ID: CB8D50BB77BB3C48
2 changed files with 2 additions and 5 deletions

View file

@ -6,9 +6,6 @@
#set -x
set -e
## provides function: pkg_installed
source /usr/libexec/helper-scripts/package_installed_check.bsh
## Check if the VirtualBox host software is installed.
if ! command -v vboxmanage &>/dev/null ; then
## VirtualBox host software is not installed.
@ -27,7 +24,7 @@ if ! test -f /usr/share/security-misc/lkrg/30-lkrg-virtualbox.conf ; then
exit 0
fi
if ! pkg_installed "lkrg" ; then
if ! package-installed-check "lkrg" ; then
exit 0
fi