do not faild the script when non-zero diff on dnf settings
This commit is contained in:
parent
018fcce82c
commit
2d5c36d354
2 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,9 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|||
|
||||
cp -v /etc/dnf/automatic.conf /etc/dnf/automatic.conf.bak
|
||||
cp -v $DIR/etc/dnf/automatic.conf /etc/dnf/automatic.conf
|
||||
set +e
|
||||
diff /etc/dnf/automatic.conf.bak /etc/dnf/automatic.conf
|
||||
set -e
|
||||
|
||||
sudo systemctl enable dnf-automatic.timer
|
||||
sudo systemctl start dnf-automatic.timer
|
||||
|
|
|
@ -30,7 +30,7 @@ emit_via = stdio,email
|
|||
|
||||
[email]
|
||||
# The address to send email messages from.
|
||||
email_from = root@skinnyv
|
||||
email_from = root
|
||||
|
||||
# List of addresses to send messages to.
|
||||
email_to = admin@cyplo.net
|
||||
|
|
Loading…
Reference in a new issue