Fix a bug for 1.2

This commit is contained in:
Samson-W 2019-08-01 03:59:30 +08:00
parent 399a8a3721
commit c79b61c977
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ apply_debian () {
apply_redhat () {
if [ $FNRET = 0 ]; then
ok "The signature of packages option is enable "
elif [ $FNRET = 1 ]
elif [ $FNRET = 1 ]; then
warn "Set to enabled signature of packages option"
sed -i "s/$YUM_OPTION=.*/$YUM_OPTION=1/g" $YUM_CONF
else