mirror of
https://github.com/hardenedlinux/harbian-audit.git
synced 2025-07-30 17:15:45 +02:00
Fix a bug for 8.3.1
This commit is contained in:
parent
70b95bd177
commit
3717ab1550
@ -38,6 +38,10 @@ audit () {
|
||||
|
||||
# This function will be called if the script status is on enabled mode
|
||||
apply () {
|
||||
is_pkg_installed $PACKAGE_R
|
||||
if [ $FNRET = 0 ]; then
|
||||
ok "$PACKAGE_R has installed, so pass."
|
||||
else
|
||||
is_pkg_installed $PACKAGE
|
||||
if [ $FNRET = 0 ]; then
|
||||
ok "$PACKAGE or $PACKAGE_R is installed"
|
||||
@ -45,6 +49,7 @@ apply () {
|
||||
crit "$PACKAGE is absent, installing it"
|
||||
apt_install $PACKAGE
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# This function will check config parameters required
|
||||
|
Loading…
x
Reference in New Issue
Block a user