mirror of
https://github.com/hardenedlinux/harbian-audit.git
synced 2025-07-28 16:14:42 +02:00
Fix a bug for 1.2
This commit is contained in:
parent
399a8a3721
commit
c79b61c977
@ -73,7 +73,7 @@ apply_debian () {
|
|||||||
apply_redhat () {
|
apply_redhat () {
|
||||||
if [ $FNRET = 0 ]; then
|
if [ $FNRET = 0 ]; then
|
||||||
ok "The signature of packages option is enable "
|
ok "The signature of packages option is enable "
|
||||||
elif [ $FNRET = 1 ]
|
elif [ $FNRET = 1 ]; then
|
||||||
warn "Set to enabled signature of packages option"
|
warn "Set to enabled signature of packages option"
|
||||||
sed -i "s/$YUM_OPTION=.*/$YUM_OPTION=1/g" $YUM_CONF
|
sed -i "s/$YUM_OPTION=.*/$YUM_OPTION=1/g" $YUM_CONF
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user