mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-11-25 12:06:24 -05:00
port to package-installed-check
This commit is contained in:
parent
abf5852eba
commit
efa06a1eae
2 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue