1
0
Fork 0
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:
Pierre de La Morinerie 2017-09-12 15:30:26 +05:30
parent ca8a3c761d
commit 752b049866

View file

@ -18,7 +18,7 @@ archive_filename="mattermost-$version.tar.gz"
function cleanup_and_restart function cleanup_and_restart
{ {
set +e set +e
sudo rm "$archive_filename" sudo rm -f "$archive_filename"
sudo supervisorctl start mattermost sudo supervisorctl start mattermost
# Exit (without triggering a package_linter warning) # Exit (without triggering a package_linter warning)