mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] rm -f ignore non existent files
This commit is contained in:
parent
0eb2a9b624
commit
18c1a7d506
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ if [[ "$1" == "True" ]]; then
|
|||
&& sudo systemctl disable spamassassin
|
||||
systemctl is-active spamassassin > /dev/null \
|
||||
&& sudo systemctl stop spamassassin
|
||||
sudo rm -f /etc/cron.daily/spamassassin || true
|
||||
sudo rm -f /etc/cron.daily/spamassassin
|
||||
sudo yunohost service status spamassassin > /dev/null 2>&1 \
|
||||
&& sudo yunohost service remove spamassassin
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue