1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00

install: don’t print an error if archive doesn’t exist

This commit is contained in:
Pierre de La Morinerie 2017-09-12 17:33:09 +05:30
parent 9286fe5e85
commit 533f10d93b

View file

@ -64,7 +64,7 @@ function fail_properly
sudo userdel mattermost sudo userdel mattermost
sudo rm -Rf "$final_path" sudo rm -Rf "$final_path"
sudo rm "$archive_filename" sudo rm -f "$archive_filename"
# Exit (without triggering a package_linter warning) # Exit (without triggering a package_linter warning)
script_die "An error occurred during the installation." script_die "An error occurred during the installation."