mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
upgrade: don’t warn when the archive file doesn’t exist
This commit is contained in:
parent
ca8a3c761d
commit
752b049866
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ archive_filename="mattermost-$version.tar.gz"
|
|||
function cleanup_and_restart
|
||||
{
|
||||
set +e
|
||||
sudo rm "$archive_filename"
|
||||
sudo rm -f "$archive_filename"
|
||||
sudo supervisorctl start mattermost
|
||||
|
||||
# Exit (without triggering a package_linter warning)
|
||||
|
|
Loading…
Reference in a new issue